mIRC Home    About    Download    Register    News    Help

Print Thread
Text on nickname change #261105 31/07/17 03:27 PM
Joined: Jan 2016
Posts: 43
T
Techchef Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2016
Posts: 43
I have a chatter-lets call him Bob, who changes his name to RogueBob..I want my bot to say "Run Bob has gone Rogue" when he changes his name to that. Possible?

Re: Text on nickname change [Re: Techchef] #261106 31/07/17 03:32 PM
Joined: Jan 2004
Posts: 1,409
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,409
Code:
on *:NICK:{ if (*rogue iswm $newnick) msg $chan Run $remove($newnick,Rogue) has gone Rogue }


Note: in ON NICK, $nick is the old nick and $newnick is the new.

Re: Text on nickname change [Re: maroon] #261107 31/07/17 04:04 PM
Joined: Jan 2016
Posts: 43
T
Techchef Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2016
Posts: 43
isn't working...Not sure why

Re: Text on nickname change [Re: Techchef] #261108 31/07/17 04:29 PM
Joined: Jul 2006
Posts: 3,723
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,723
Use rogue*, not *rogue


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net