I am trying to do something simple, I have absolutely *NO* prior knowledge of vbscript, so bear with me. I want to switch from single wield to a double wield in a series, but I cannot make the script hold the variables I set in the world.
here is the script in it's entirity... note that some of this is garbage, but I don't know which parts are and which aren't...tutorials anyone?
I got the world.doafter timers set right, but the variables just get slapped into the world "as is" I.E. @weaponl.
the world.note I put in to see if it got the variable, which is does, but then it doesn't apply it to the rest of the code.
-edit- typos suck
here is the script in it's entirity... note that some of this is garbage, but I don't know which parts are and which aren't...tutorials anyone?
sub dualwield (name, line, wildcards)
world.Send "relax grip"
dim weapon3
weapon3 = world.GetVariable ("weapon3")
if isempty (weapon3) then
world.note "My name is not defined"
end if
if isnull (weapon3) then
world.note "Invalid variable name"
end if
world.note weapon3
world.DoAfter 4, "Put @weapon3 in pack"
world.DoAfter 6, "get @weaponl from pack"
world.DoAfter 8, "get @weaponr from pack"
world.DoAfter 10, "wield @weaponl left"
world.DoAfter 14, "wield @weaponr right"
world.DoAfter 17, "grip"
end subI got the world.doafter timers set right, but the variables just get slapped into the world "as is" I.E. @weaponl.
the world.note I put in to see if it got the variable, which is does, but then it doesn't apply it to the rest of the code.
-edit- typos suck