Jethro commented on a Page, Simple Highlight with pop-up  -  Jun 06, 2010

Have you tested it?

I'll give you two examples:

alias test {
  $iif($istok($1-,ChanZin,32),echo -a $v1)
}

This will solely return $true if you enter: /test chanzin

Now this is what you have in you code:

alias test {
echo -a $iif(ChanZin isin $1-,TRUE,FALSE)
}
Yes, it'll return true if chanzin is said and matched. Now if I enter:

BlahChanZin or ChanZinBlah or ChanZin123

They will all return TRUE.

You should also take note that the $istok order I have. It's $1- comes first before your own nick. We want to match the nick ChanZin exactly the way it is.

 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.