mIRC Home    About    Download    Register    News    Help

Print Thread
some script for kick ;) #211129 04/04/09 09:24 PM
Joined: Mar 2009
Posts: 6
Q
qwertyornot Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Q
Joined: Mar 2009
Posts: 6
Hi
i have one more question about my mirc and nns
Can someone help me, or tell me, it is possible to have some script to write automatic few command after i am kicked from some server?
i mean command identify and invite, because channel need it always when person is kicked.
if someone can help me with that - i will be grateful smile
sorry for my bad english.

Re: some script for kick ;) [Re: qwertyornot] #211131 04/04/09 10:35 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
1) This should've been posted in the Scripts and Pop-Ups section, especially since you knew it was going to be a script, per your subject line.

2) This script presumes that you use the same password for all of your nicks and that the nick registration service is called nickserv.

Code:
on ^*:notice:*is registered*:*:{
  if ($me isin $1-) && ($nick == nickserv) {
    .msg nickserv identify <password>
  }
}
on ^*:notice:*You are now identified*:*:{
  if ($nick == nickserv) {
    .msg chanserv invite <#channel>
  }
}

You may need to edit these for the actual messages, as well as the network and channel names.