Anyone come across a ground spawn looting marco?
I can't seem to get the ground spawn into my cursor to make a macro loot it.
Any ideas?
Edit: Finally found one baried in the MQ Forums .... exactly what I was looking for:
I can't seem to get the ground spawn into my cursor to make a macro loot it.
Any ideas?
Edit: Finally found one baried in the MQ Forums .... exactly what I was looking for:
Rich (BB code):
Sub Main
/call DefineGlobals
:Loop
/Call TargetItem
/Call MoveToItem
/Call GetItem
/Call Rest
/goto :loop
/return
Sub DefineGlobals
/declare TargetDistance global
/return
Sub TargetItem
/echo Targeting a shroom . . .
/ItemTarget *Blue
/return
Sub MoveToItem
:keepmoving
/varset TargetDistance ${Target.Distance}
/face fast nolook
/keypress forward hold
/delay 5
/call CheckIfStuck
/if (${Ground.Distance}>10) /goto :keepmoving
/keypress back
/return
Sub CheckIfStuck
|/echo is ${TargetDistance} = ${Target.Distance} ?
/if (${TargetDistance}==${Target.Distance}) {
/echo I am stuck
/keypress back hold
/delay 1s
/keypress back
/if (${Math.Rand[99]}>50) {
/keypress strafe_right hold
} else {
/keypress strafe_left hold
}
/delay 2s
/keypress strafe_right
/keypress strafe_left
/keypress forward hold
}
/Return
Sub GetItem
/click left item
/delay 1s
/autoinventory
/delay 1s
/autoinventory
/Return
Sub Rest
/delay 10s
/echo Getting next phat lewt!
/Return
Last edited: