mIRC Home    About    Download    Register    News    Help

Print Thread
#205061 11/10/08 07:44 AM
Joined: Nov 2007
Posts: 50
Babel fish
OP Offline
Babel fish
Joined: Nov 2007
Posts: 50
I can't figured out how to write a script that automatically give me back +a status when someone removes it. Can anyone help me with that? It would be like on -a set +a to my nick.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Here are two different codes. The first code worked on 2 of the 4 networks I tried it on, but not the other two.
The second code worked on all of the networks tested.

P.S.: Since you knew that this was a scripting problem, it should've been posted in the Scripts & Pop-ups forum.

Code:
on *:rawmode:*:#:{
  if !$nick($chan,$me,&) {
    .mode $chan +a $me
  }
}

Code:
on *:rawmode:*:#:{
  if !$nick($chan,$me,&) {
    .msg nickserv identify <password>
  }
}



Link Copied to Clipboard