mIRC Home    About    Download    Register    News    Help

Print Thread
#203109 06/08/08 03:31 PM
Joined: Aug 2008
Posts: 14
C
Cred Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Aug 2008
Posts: 14
When i type !nick I want my bot to change its nick from Cred to [C|R|E|D]. I want it to be so only i can do this (nick = Hayden131)
Please help me im pretty bad at scripting. Thanks!

Cred #203110 06/08/08 03:56 PM
Joined: Mar 2007
Posts: 139
S
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
Code:
on *:text:!nick:#: if ($nick == Hayden131) .nick [C|R|E|D]


Cred #203111 06/08/08 04:16 PM
Joined: Aug 2008
Posts: 14
C
Cred Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Aug 2008
Posts: 14
thankyou very much!

Cred #203129 06/08/08 11:29 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Also note that you could do this same command via pm, rather than in the channel (where everyone would see it), by changing the # in the ON TEXT event to a ? or a * (which would allow the command in the channel (as it currently is) and via pm/query)


Link Copied to Clipboard