Advertisement
westor

/ame with exceptions for StonedMonkey v1.0

Jul 19th, 2019
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.54 KB | None | 0 0
  1. ; to set exceptions use: /set %ame_not #chan1,#chan2,#chan3,...
  2.  
  3. alias ame {
  4.   if ($status !== connected) { linsep -a | echo $color(info) -a * /ame: not connected to a server | linesep -a | return }
  5.   if (!$1-) { linsep -a | echo $color(info) -a * /ame: insufficient parameters | linsep -a | return }
  6.   if ($chan(0) == 0) { linsep -a | echo $color(info) -a * /ame: no channel windows open | linsep -a | return }
  7.  
  8.   var %i = 1
  9.   while (%i <= $chan(0)) {
  10.     if (!$istok(%ame_not,$comchan($me,%i),44)) { describe $chan(%i) $1- }
  11.     inc %i
  12.   }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement