MIRC Scripting/Basics/Timers

From Wikibooks, open books for an open world
< MIRC Scripting
Jump to: navigation, search

alias who_ops {

 :start
 var %op = 1
 if ($nick($chan,%op) isop $chan) { echo -a $v1 }
 inc %op
 if (%op <= $nick($chan,0)) {
   goto start
 }

}