The script:
sub SpamCast(name, output, wilds)
dim count
for count = 1 to 10
world.send "c " & world.getvariable("SpellName")
next
world.send world.getvariable ("Sleeper")
world.send "inventory"
end sub
Works perfect, like a charm.
Wanna change it to:
sub SpamCast(name, output, wilds)
dim count
for count = world.getvariable ("spellcount")
world.send "c " & world.getvariable("SpellName")
next
world.send world.getvariable ("Sleeper")
world.send "inventory"
end sub
I setup an alias:
Alias: spellcount (*)
Checked: Enabled, Ignore Case
label: SpellCount
script: SpellCount
sub SpellCount (name, line, wilds)
world.setvariable "SpellCount", wilds (1)
end sub
For somereason its not working :( I'm doing soemthing wrong and I'm not quite sure what it is.
sub SpamCast(name, output, wilds)
dim count
for count = 1 to 10
world.send "c " & world.getvariable("SpellName")
next
world.send world.getvariable ("Sleeper")
world.send "inventory"
end sub
Works perfect, like a charm.
Wanna change it to:
sub SpamCast(name, output, wilds)
dim count
for count = world.getvariable ("spellcount")
world.send "c " & world.getvariable("SpellName")
next
world.send world.getvariable ("Sleeper")
world.send "inventory"
end sub
I setup an alias:
Alias: spellcount (*)
Checked: Enabled, Ignore Case
label: SpellCount
script: SpellCount
sub SpellCount (name, line, wilds)
world.setvariable "SpellCount", wilds (1)
end sub
For somereason its not working :( I'm doing soemthing wrong and I'm not quite sure what it is.