SHARE
TWEET

/ame with exceptions for StonedMonkey v1.0

westor Jul 19th, 2019 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top