Replacement for //scid -a

By astro on Aug 09, 2004

This snippet allows you to replace the command //scid -a . The purpose is to first check that the server connection ID is valid before executing the on that specified ID.

General usage would be //sscid amsg hi

That is an example, but it can be used for multi-server away messages, mp3 displays and nick changes :). Fully tested and working, have fun

alias sscid {
  var %scid = 0
  while (%scid < $scid(0).server) {
    inc %scid 1
    if ($scon(%scid).server != $null) {
      scon %scid $1-
    }
  }
}

Comments

Sign in to comment.
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.