Multipe Server AMSG

By ReQueST on Apr 03, 2005

First of all, i aint such a big fan of spamming, so dont abuse it!

Usage is just simple: /aamsg TEXT.

It's just the same as "/amsg text" Only this one is for multiple server surport.

alias aamsg {
  var %a = 1
  while $scon(%a) {
    var %b = $ifmatch, %c = 1
    scid %b
    while $chan(%c) {
      msg $chan(%c) (AMSG: $$1- $+ )
      inc %c
    }
    inc %a
  }
  scid -r
}

Comments

Sign in to comment.
xDaeMoN   -  Sep 20, 2006

\'/scon -at1 amsg message_here\' does the same. Not bad though.

 Respond  
Joystyk   -  Sep 19, 2006

Neat little snippet. :)

 Respond  
PoiXon   -  Apr 03, 2005

oh u changed it :P

 Respond  
PoiXon   -  Apr 03, 2005

Nice Snippet, and BTW u\'ve put \"alias amsg {\" instead of aamsg :P \"Usage is just simple: /aamsg TEXT\" :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.