La macro mi fa andare in crash Uo, l'ho dovuta modificare così:
//those are the directions availableif not listexists 'directions'
createlist 'directions'
pushlist 'directions' 'north'
pushlist 'directions' 'northeast'
pushlist 'directions' 'east'
pushlist 'directions' 'southeast'
pushlist 'directions' 'south'
pushlist 'directions' 'southwest'
pushlist 'directions' 'west'
pushlist 'directions' 'northwest'
//select the pickaxe to use for mining
if not @findalias 'Piccone'
promptalias 'Piccone'
endif
//if we are not dead we will do this
while not dead
//get a number from 0 to 7 and save it in alias 'rnd'
random 8
//use the pickaxe and target on your exact location
useobject 'Piccone'
waitfortarget 2000
targettileoffset 0 0 0
//4 sec pause
pause 4000
if counttype 0x19b9 'any' 'backpack' > 0
endif
//pause of a second
pause 1000
//RND is the result of random 8 as an alias, so we get a random direction and move toweard it
walk directions[rnd]
endwhile
sysmsg 'Sei morto!'
stop
Senza cavallo funziona perfettamente e con mezzo secondo di delay in più.