mIRC Homepage
Posted By: CaNNoN Help @ Quizbot (Wildcard in string) - 14/09/03 01:57 PM
hYa guys .. i have a big problem with my quiz bot ..

Code:
on 1:TEXT:*:%quizchan:{
  /set %quizinput $$1-
  /set %quizcontrole $ctime
  if (%quizactive == 1) && (%quizinput == %quizanswer) {
    /set %quiznick $nick
    /quizansweroke
  }
} 


now my problem ..
if %quizanswer = " lon*wor* "
and %quizinput = " longword " ...

how can i tell mirc that * (star) is a wildcard ?

-------

i use mirc 5.8 - 32bit

------

Thanks in advance
if (%quizanswer iswm %quizinput)
Posted By: CaNNoN Re: Help @ Quizbot (Wildcard in string) - 14/09/03 02:21 PM
ahhhh ... BIG thanks .. i was trying with $gettok etc.
© mIRC Discussion Forums