PC_Equipments = "an eye of a Kraken|a ring of wizardry|the ring of the serpent|the Overlord\'s necklace of protection|holy symbol Ithrilis|a set of overlord armor|the leggings of an elder dragon|a pair of golden-spurred boots|the lieutenant\'s gauntlets|a pair of green dragonscale sleeves|a battered iron shield|Yourban\'s soul|a spectral aura|the belt of the master craftsman|a magical belt pouch|a bracelet set with white moonstones|a bracelet of the elements|an Eldmarian Slayer"
require "wait"
wait.make (function ()
for PC_Equipment in string.gmatch (PC_Equipments, "%a+") do
Send ("remove all.", PC_Equipment)
wait.time(1)
Send ("wear 'a pair of brass spectacles'")
wait.time(1)
Send ("wear ", PC_Equipment)
end -- forend -- for
end) -- function
For some reason after I added the wait function, I was caught in a endless loop, or it seemed endless. any idea on what i can do to fix it? The reason I need a wait function is because it will kick me out of the game and reconnect me.
require "wait"
wait.make (function ()
for PC_Equipment in string.gmatch (PC_Equipments, "%a+") do
Send ("remove all.", PC_Equipment)
wait.time(1)
Send ("wear 'a pair of brass spectacles'")
wait.time(1)
Send ("wear ", PC_Equipment)
end -- forend -- for
end) -- function
For some reason after I added the wait function, I was caught in a endless loop, or it seemed endless. any idea on what i can do to fix it? The reason I need a wait function is because it will kick me out of the game and reconnect me.