| Parsed for bracket errors and indented: | |
1 2 3 4 5 6 7 8 9 10 11 12 |
alias search { var %x = 1 | set %b 0 while ($nick($chan,%x)) { if ($1 isin $v1) { echo -a $+ $nick($chan,%x) | whois $nick($chan,%x) | inc %b } inc %x } if (%b == 0) { echo -a Nothing matched to:( $+ $1 $+ ) } else { echo -a Total matched to:( $+ $1 $+ ) - $+ %b $+ - } } |