Variables and string contains

Bjonnen

New Member
Hi!

I'm looking for a way to check the name of a zone, and if the name does not contain a string, I want to do stuff.
Example:

var count
count = 0

loop:

if ("string" not in Zone.count.Name) stuff
count = count + 1

if (Zone.Count <= count) goto loop

-----------
My first issue here is I can't seem to get Zone.VARIABLE.Name to work. Is it correct that you can't use a variable here? If so, is there a workaround?
Second issue is checking if a string contains another string. Is there a way to do this?
 
Back
Top