mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2004
Posts: 2
R
ripp3r Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
R
Joined: Nov 2004
Posts: 2
scripting never was strong side of mine.so, i need a script to recover dropped channel. so, there's is what i want: when the action "ChanServ sets mode: -r" occurs in the specific channel, then the command "/msg chanserv #channel password description" must be written at that time. i hope you understood me. Please write the code. Thank you in advance.

Joined: Aug 2004
Posts: 16
I
Pikka bird
Offline
Pikka bird
I
Joined: Aug 2004
Posts: 16
Hi.

Code:
on 1:MODE:#channel:{
if ($nick == ChanServ) && ($1 == -r) {
msg chanserv #channel password description
}
}


This would write "#channel pw ..." to Chanserv, when it changes the mode to "-r".
This is what you want?
I hope, that I could help u.

Kathy


Regards,
KathY
Joined: Nov 2004
Posts: 2
R
ripp3r Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
R
Joined: Nov 2004
Posts: 2
yup, everything works fine, thank you


Link Copied to Clipboard