Painwraith0
Wanderer
I have an annoying problem.. I was wondering if anyone can help...
while @counttype 0x1b730 0 'backpack' < 30
usetype! 0x13e3
replygump 0x38920abd 29
waitforgump 0x38920abd 15000
replygump 0x38920abd 2
pause 800
endwhile
so this is a part of a much larger script, but everything works (with a few bugs) except this bit. What I am trying to do is to craft 30 of an item and for the script to check if 30 exists and if there are less than 30 it will craft the amount necessary. Problem is the script never ends, its stuck in a perpetual crafting loop. so I must be missing something or malforming a command....
any Ideas?
while @counttype 0x1b730 0 'backpack' < 30
usetype! 0x13e3
replygump 0x38920abd 29
waitforgump 0x38920abd 15000
replygump 0x38920abd 2
pause 800
endwhile
so this is a part of a much larger script, but everything works (with a few bugs) except this bit. What I am trying to do is to craft 30 of an item and for the script to check if 30 exists and if there are less than 30 it will craft the amount necessary. Problem is the script never ends, its stuck in a perpetual crafting loop. so I must be missing something or malforming a command....
any Ideas?