Advertisement
Iire

Untitled

Nov 9th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.44 KB | None | 0 0
  1.   ; ...other code...
  2.  
  3.   ; Check to make sure there are at least two people in the channel, else loop forever...
  4.   ; (til you press ctrl+pause|break (a few times if needed), to break out of the loop...)
  5.   if ($nick(#, 0) > 1) {
  6.     var %n = $v1, %nick = $me
  7.     ; Loop until %nick variable does not equal the bot's nick.
  8.     while (%nick == $me) %nick = $nick(#, $r(1, %n))
  9.     ; Continue on with rest of code...  
  10.   }
  11.  
  12.   ; ...other code...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement