Lindrian commented on a Page, OP Notice  -  Feb 03, 2008

Use /var instead of /set
/help /var

Also, change \"notice\" into \".notice\" (. = silent)
And the inc %i 1 can be made inc %i.

The code should look more like this:

alias onotice {
  var %c $nick($chan,0), %i = 1
  while (%i <= %c) {
    if ($nick($chan,%i) isop $chan) .notice $nick($chan,%i) [@] $1-
    inc %i
  }
}

Good work though!

 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.