mIRC Home    About    Download    Register    News    Help

Print Thread
#204981 08/10/08 03:54 PM
Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
I need help,

I can't think of a way to have variable let's say:

var %x for CATEGORY,HOSTKEY,LANGUAGE,LANGUAGE2,MEMBERKEY,ONJOIN,ONPART,OWNERKEY,PICS,TOPIC

I would like to make a code to check if one of the items ie. "TOPIC" in var %x is not present therefore TOPIC is then considered "UNLOCKED"


The Display should be as follows:

Code:
LOCKED PROPERTIES: CATEGORY,HOSTKEY,LANGUAGE,LANGUAGE2,MEMBERKEY,ONJOIN,ONPART,OWNERKEY,PICS

UNLOCK PROPERTIES: TOPIC, ECT..., 

 


I am not quite sure as how to proceed in coding this.

Thanks for all your help in advance,

Cheers,

Jay

Last edited by Buggs2008; 08/10/08 03:55 PM.
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Use $istok(), eg. $istok(%x, TOPIC, 44). See the token identifiers in the help file for an explanation of the final parameter and for similar identifiers that might also be useful to you.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard