Quote:
I have repsond script but there is something i can't find out.
I have this in my code:
Code:
 if (ik isin $strip($1-)) || (mij isin $strip($1-)) { 
 


BUT.... when ik or mij are part of words( bike or like ) it also responds and that is not what i wanted.
how do i set ik and mij to be one word and not part of a word?


Code:
on *:text:*:#:{
  if (ik iswm $strip($matchtok($1-,ik,1,32))) { cmd }
}


$matchtok will find a perfect single match for $v1 this is one of the several methods of doing it. So bike wouldnt return nothing while Bike this Hike because ik said so. would return a match @ token 5 only even though that Bike and Hike have Ik in it.