UseItem...I was gonna ask for info on the same issue, I even tried the button on Mcp thing but that didn't work either tried with the full name of the purse and with "item" in front both ways didn't work. There must be a way to do this at different times on multiple chars. Any help would be greatly appreciated.
K...
Tried it exactly like you put and tried it with "item:" in front can't get either to work, but it works just fine when it's in the cast stack on named CA.UseItem...
Parameter 1 - Toon Name
Parameter 2 - Ahrmatal's Ringmail Purse
Make sure to add the item to your toons available list via the items tab.
I can confirm 100% it works via MCP. So if it's not working for you, you did not follow his instructions exactly.Tried it exactly like you put and tried it with "item:" in front can't get either to work, but it works just fine when it's in the cast stack on named CA.
Thx
K....
If they are CastItem buttons, should work fine. Just don't use cancel cast. As soon as latency starts coming in, it's not worth using. I need to completely rewrite the whole cancel thing... but that's down the road.Works fine for me the MCP buttons.
I have found that i sometimes might have to click the button a few times as i am not sure if it queue's the request or stops casting and then uses the item.
function main()
{
echo *** starting killing chamber ***
if ${Script[${OgreBotScriptName}](exists)}
{
if !${Me.InCombat}
return
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G1_Name1" "Ahrmatal's Ringmail Purse"
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G2_Name1" "Ahrmatal's Ringmail Purse"
wait 300 !${Me.InCombat}
if !${Me.InCombat}
return
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G1_Name2" "Ahrmatal's Ringmail Purse"
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G2_Name2" "Ahrmatal's Ringmail Purse"
wait 300 !${Me.InCombat}
if !${Me.InCombat}
return
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G1_Name3" "Ahrmatal's Ringmail Purse"
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G2_Name3" "Ahrmatal's Ringmail Purse"
wait 300 !${Me.InCombat}
if !${Me.InCombat}
return
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G1_Name4" "Ahrmatal's Ringmail Purse"
relay all OgreBotAtom a_QueueCommand UseItemFromUplink "G2_Name4" "Ahrmatal's Ringmail Purse"
wait 300 !${Me.InCombat}
}
}
function atexit()
{
echo *** end killing chamber ***
}