mIRC Homepage
Posted By: devve isin help - 01/01/05 03:29 PM
was wondering if I want to use the word (HELP) in a isin, how to do it?
Can I use ((HELP) isin $1) or must I use somekind of chars that defines it like ("(HELP)" isin $1) ?
Posted By: Relinsquish Re: isin help - 01/01/05 04:31 PM
Code:
If ($Chr(40) $+ HELP $+ $Chr(41) isin $1)
Posted By: JoeDaddy Re: isin help - 01/01/05 05:08 PM
that or ..
Code:
if ($istok($1-,$+($chr(40),HELP,$chr(41)),32))
Posted By: Iori Re: isin help - 01/01/05 08:13 PM
Or
  • if $istok($1-,(HELP),32) { grin }
Posted By: JoeDaddy Re: isin help - 01/01/05 08:35 PM
does that work? I assumed it would error lol crazy

Edit:
-
grin Unknown command
-

:tongue:
Posted By: FiberOPtics Re: isin help - 01/01/05 08:46 PM
Yeah that works.

Try: //tokenize 32 one (HELP) two | if $istok($1-,(HELP),32) { echo -a success }

Greets
Posted By: Iori Re: isin help - 01/01/05 08:56 PM
That "Unknown command" error is vecause you used the ":[/b])" smiley instead of a valid command laugh
Posted By: JoeDaddy Re: isin help - 01/01/05 10:30 PM
Yeah I know .. I was bein a smartass lol :tongue:
© mIRC Discussion Forums