1
Script Debug / Hey my first script in the making! Please help lol
« on: October 03, 2011, 02:50:39 PM »
Alright, im trying to make a script that recalls to two locations on a rune book. buys from one npc vendor, bucklers and battle axes. (which i have razor buy agent on background to make the buying part easy in my script) then recall back and donate both.
so i do have a plan
Look for runebook
Open runebook
chose first rune
click npc choose buy
recall to spot #2
double click npc
chose bucklers
enter 20
double click npc
chose battle axes
enter 20
repeat
well that being said i got this so far
findItem ZBN EGSD , #backpackID
if if #findKind = -1
halt
set #lobjectID #findID
set #ltargetKind 1
event macro 17 0
wait 5
but its not opening my runebook. i think its finding it because it stays on play.. unlike when i had a different backpack id then it just kept halting. but i thought event macro was to use it?
ill be playing around with it for more time. but also if i do figure this out, and i get it opened.. would i have it look for the rune spot 1 by using coords? or is there an easier way incase rune book opens up somewhere else?
so i do have a plan
Look for runebook
Open runebook
chose first rune
click npc choose buy
recall to spot #2
double click npc
chose bucklers
enter 20
double click npc
chose battle axes
enter 20
repeat
well that being said i got this so far
findItem ZBN EGSD , #backpackID
if if #findKind = -1
halt
set #lobjectID #findID
set #ltargetKind 1
event macro 17 0
wait 5
but its not opening my runebook. i think its finding it because it stays on play.. unlike when i had a different backpack id then it just kept halting. but i thought event macro was to use it?
ill be playing around with it for more time. but also if i do figure this out, and i get it opened.. would i have it look for the rune spot 1 by using coords? or is there an easier way incase rune book opens up somewhere else?