Are you a regular stikked user? Signup so you can keep track of your pastes!

Untitled

By Idiotic Duck, 1 Year ago, written in mIRC Scripting.
URL http://stikked.com/view/16238963
  1. alias amsg2 {
  2.   if (!$1) {
  3.     echo $color(info) -atg $npre /amsg2: lets you exclude channels from 'amsg'
  4.     echo $color(info) -atg $npre Usage: /amsg2 setlist to view ignored channels, /amsg2 setlist <channels> to set ignored channels $par(seperated with space) $+ , /amsg2 message
  5.   }
  6.   elseif ($1 == setlist) && ($2) {
  7.     w_ncfg amsg_ignore $2-
  8.     n.echo info -atg Channels to not msg: $2- $par($numtok($2-,32))
  9.   }
  10.   elseif ($1 == setlist) && (!$2) echo $color(info) -atg $npre Current channels to ignore: $iif($ncfg(amsg_ignore),$ifmatch $par($numtok($ifmatch,32)),none)
  11.   else {
  12.     var %i = 1, %t = $chan(0), %amsg.ignore = $ncfg(amsg_ignore), %amsg.chans
  13.     while (%i <= %t) {
  14.       if (!$istok(%amsg.ignore,$chan(%i),32)) {
  15.         var %amsg.chans = $addtok(%amsg.chans,$chan(%i),44)
  16.         echo $color(own) -qmnt $chan(%i) $replace($me.style,<mode>,$cmode($me,$chan(%i),o),<nick>,$me) $+  $1-
  17.       }
  18.       inc %i 1
  19.     }
  20.     .raw PRIVMSG %amsg.chans : $+ $1-
  21.   }
  22. }
  23.  

Reply to "Untitled"

Here you can reply to the paste above

Create a snipurl

Make Private

Feeling clever? Set some advanced options.