pabstblueribbon
02-09-2008, 01:40 AM
Hi. Im currently trying to convert a large script over to ruby so i dont have to emulate, but in the time being I wanted to use this script through lich with ;wiz and im wondering why this doesnt work. Any help would be appreciated.
Im of course starting it with ;wiz test test.cmd is in the correct place as well.
start:
setvariable target monkey
put kill %target%
goto putter
putter:
setvariable cont long
put put whatever in %cont%
exit
The output is:
[test.cmd]>kill monkey
[test.cmd]>put whatever in 0ont%
Why is it assigning the first variable and not the second?
Thanks!
Im of course starting it with ;wiz test test.cmd is in the correct place as well.
start:
setvariable target monkey
put kill %target%
goto putter
putter:
setvariable cont long
put put whatever in %cont%
exit
The output is:
[test.cmd]>kill monkey
[test.cmd]>put whatever in 0ont%
Why is it assigning the first variable and not the second?
Thanks!