PDA

View Full Version : Stormfront Scripting question



weasel82
12-20-2004, 05:38 PM
Is it possible to have a variable be a list and have the keyword to the variable trigger going through the list? Ie.

Variable1:
invar
vultite
ora
maoral
bronze
steel

and the trigger line something like:
put tap my %variable1 bar(or whatever)
(and it would scroll through the list of possible metals)

Is that type of stuff possible, or doable?

Fengus
12-20-2004, 07:58 PM
No there are no string routines to acccomplish that. But you can get the same effect with a little more work, with something like this:



counter set 0
setvariable metal invar

Look:
pause
match Success You tap
match Failure What are
put tap my %metal% bar
matchwait

Success:
...
exit

Failure:
counter add 1
goto %c

1:
setvariable metal vultite
goto Look

2:
setvariable metal ora
goto Look

...



Bit more work, but the best you can do really. That is other then rethink what you are trying to do and find an overall better method.


[Edited on 12-21-2004 by Fengus]