Menu

#236 Per channel on-join command section

open
nobody
None
5
2015-01-27
2015-01-27
No

Currently it is possible to define server "on join" commands. Which can be a simple command or "LOAD" action. Trick is that this execute before client join to designated channels. This makes it impossible( I think, not an irc guru) to op yourself.

For instance following line as "Connect command" :
/msg USERSERV login id-nick pwd /msg CHANSERV op #channel-name id-nick

Will cause something like "CHANSERV can not op, you are not on #channel-name"

It is possible to circumvent this by simply setting Connecto command to something like:

LOAD -e ~/.xchat2/init.txt

With init.txt like

msg USERSERV login id-nick pwd
join #channel-name
msg CHANSERV op #channel-name id-nick

Along wiht removal of $channel-name from favs.

Discussion


Log in to post a comment.