napa182 commented on a Page, Multi Query Box  -  Jul 26, 2008

hmm for some reason i cant get this to work hmm but anyways
instead of this

alias say {
  var %opstatus
  .raw -q privmsg $active : $+ $1-
  if ($nick isvo #) { %opstatus = + }
  if ($nick isop #) { %opstatus = @ }
  if ($nick isowner #) { %opstatus = . }
  { echo # 4@14 $timestamp ME04  $+ %opstatus $+ $nick $+ 16•15•14•160 $3- }
  set %currentchan #
  haltdef
}

cant you use $nick(#,$nick).pnick instead of setting a var to show user status? maybe like this?

alias say {
  .raw -q privmsg $active : $+ $1-
  echo # 4@14 $timestamp ME04 $+($nick(#,$nick).pnick,16•15•14•160,$chr(32),$3-) 
  set %currentchan #
  haltdef
}
 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.