Jethro commented on a Page, moderator says operator says  -  Jun 06, 2009

Nikooo777, you know that you have an error in your script: > ($nick): <- this will return ($nick): in chat. You need to use

$+($nick,:)

to make it work. Also, having two on text events is unnecessary; this is all you need:

on *:text:*:#: { 
  if ($1 == $str(@,2)) && ($nick isop $chan) {
    .msg $v2 $+($chr(3),04,OPERATOR) $+($nick,:) $2-
  }
  if ($1 == @) && ($nick isvoice $chan) {
    .msg $v2 $+($chr(3),09,MODERATOR) $+($nick,:) $2-
  }
}
 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.