PDA

View Full Version : The Joys of scripting .. well kinda



Wuxong
08-25-2005, 09:14 PM
Ok i got this far with a loot script that will screen out boxes.. there is still something very wrong with it.. please if somone can correct my mistakes .. or give me some hints at least... here is the loot part that isnt work i use Stormfront ...

dead:
put stance defensive
put wear shield
put loot
put glance
match coffer coffer
match strongbox strongbox
match trunk trunk
match box box
match chest chest
match stow left hand
matchwait

coffer:
setvariable coffer
goto box2

strongbox:
setvariable strongbox
goto box2

trunk:
setvariable trunk
goto box2

chest:
setvariable chest
goto box2

box:
setvariable box
goto box2

box2:
put drop %boxname%

stow:
put stow left in satchel
put rem shield

goto checkc

Bobmuhthol
08-25-2005, 09:33 PM
I'm going to pretend I know how SF works...

What the motherfuck is "setvariable" going to do when you only have one argument after it?

<<dead:
put stance defensive
put wear shield
put loot
put glance >>

Enjoy the typeahead lines. Try putting in some WAITFORs. And put "put glance" after your match strings.

Every setvariable, if it works non-retardedly, should say "setvariable boxname <box>". I hope you aren't the guy that earlier posted the Wizard engine was limiting you.

Edit: okay, thank God, you aren't that guy.

[Edited on 8-26-2005 by Bobmuhthol]