mIRC Home    About    Download    Register    News    Help

Topic Options
#106591 - 01/01/05 03:29 PM isin help
devve Offline
Pikka bird

Registered: 28/09/04
Posts: 10
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) ?

Top
#106592 - 01/01/05 04:31 PM Re: isin help
Relinsquish Offline
Vogon poet

Registered: 25/03/04
Posts: 175
Loc: Canada
Code:
If ($Chr(40) $+ HELP $+ $Chr(41) isin $1)
_________________________
- Relinsquish

Top
#106593 - 01/01/05 05:08 PM Re: isin help
JoeDaddy Offline
Vogon poet

Registered: 17/10/03
Posts: 96
that or ..
Code:
if ($istok($1-,$+($chr(40),HELP,$chr(41)),32))


Edited by JoeDaddy (01/01/05 05:10 PM)
_________________________
Somebody Rate Me 5 Stars PLEASE!!!
t}{3n | c0u|d b3 |33t t00!
gringringringrin

Top
#106594 - 01/01/05 08:13 PM Re: isin help
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
Or
  • if $istok($1-,(HELP),32) { grin }

Top
#106595 - 01/01/05 08:35 PM Re: isin help
JoeDaddy Offline
Vogon poet

Registered: 17/10/03
Posts: 96
does that work? I assumed it would error lol crazy

Edit:
-
grin Unknown command
-

:tongue:


Edited by JoeDaddy (01/01/05 08:40 PM)
_________________________
Somebody Rate Me 5 Stars PLEASE!!!
t}{3n | c0u|d b3 |33t t00!
gringringringrin

Top
#106596 - 01/01/05 08:46 PM Re: isin help
FiberOPtics Offline
Hoopy frood

Registered: 05/02/04
Posts: 2019
Loc: Leuven, Belgium
Yeah that works.

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

Greets
_________________________
Gone.

Top
#106597 - 01/01/05 08:56 PM Re: isin help
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
That "Unknown command" error is vecause you used the ":[/b])" smiley instead of a valid command laugh

Top
#106598 - 01/01/05 10:30 PM Re: isin help
JoeDaddy Offline
Vogon poet

Registered: 17/10/03
Posts: 96
Yeah I know .. I was bein a smartass lol :tongue:
_________________________
Somebody Rate Me 5 Stars PLEASE!!!
t}{3n | c0u|d b3 |33t t00!
gringringringrin

Top