Help @ Quizbot (Wildcard in string) - 14/09/03 01:57 PM
hYa guys .. i have a big problem with my quiz bot ..
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
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