|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
OP
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
I'm looking for a way to keep chanserv from opping me in a particular room if I'm not using my main nick...I've tried several different ideas that have occured to me, but in all cases, my alternate nick is opped by chanserv. Both my main and alternate nicks are registered and grouped using the nickserv group command.
|
|
|
|
Joined: Feb 2005
Posts: 194
Vogon poet
|
Vogon poet
Joined: Feb 2005
Posts: 194 |
Well, I dont know your chanserv. I also know that you are a pretty good scripter, so im sure this already occured to you, but you could use this. It will only deop you, not keep chanserv from oping you. on *:OP:#room: {
if ($nick == Chanserv) && ($opnick == $me) && ($me != %main.nick) { mode # -o $me }
} Then just use: //set %main.nick <main nick>. Im sure you knew this. Oh well.
Last edited by alhammer; 22/04/05 01:17 AM.
"God sometimes puts us in the dark for us to see the light"
|
|
|
|
Joined: Dec 2002
Posts: 1,245
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,245 |
not sure as I have not tried this, but wouldnt /mode -r $me work if done before entering the channel?
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
OP
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
I don't know what that mode would do...I can't find it in the documentation
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
OP
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
with the exception of using $mnick in place of the %main.nick variable, yes I did give that a try. Figured there was no sense in setting a variable, when there's an identifier with the information in it already.
|
|
|
|
Joined: Dec 2002
Posts: 1,245
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,245 |
(depending on the IRCD) when you identify your mode to the server is +r to see the modes set on the server type in the status window /mode (your nick) but I just tried this on sandnet and it didn't unset my registered/identified setting on the server....
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
It has been some time since I've done anything with chanserv, but if you deop yourself through chanserv, won't it store that until you rejoin the channel?
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
OP
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
Probably Rimus2, however, I'm not leaving the channel, just changing my nick. In any case, everyone, I managed to get coding that works. In remotes on *:nick:{
if ($newnick != $mnick) && ($me isop #channel) { .mode #channel -o $me }
}
|
|
|
|
|
|