Ghost-lit Warder commented on a Page, Simple Ops using $istok  -  Sep 05, 2007

I would use the on *:text command, and why not use an ini file?

var %voices = $gettok($readini(status.ini,voices),1-,44) or even exclude the local variable and use

 if ($istok($readini(status.ini,voices),$nick,44) { etc } 

I would also make an alias to add nicks. For example:

alias addstat { 
 if ($istok($readini(status.ini,$1),$2-,44){ $addtok($readini(status.ini,voices), $2-,44) }
 else { writeini -n status.ini $1 nicks $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.