This is a small macro that can gain you some AFK exp... It wasn't much, but hey-- You can run it afk!
Rich (BB code):
|Chest.mac -Devlin
|You need mq2copen for this to work
Sub Main
:chest
/call Checks
/call Open
/goto :Chest
/return
|--------------------------------------------------|
| Checks for GM's and Players
|--------------------------------------------------|
Sub Checks
:check
/if (${SpawnCount[pc radius 200]}>1) {
/echo Player is close...
/echo Pausing the Macro until they leave...
/afk Went to go get beer, brb
/delay 5s
/goto :check
}
/if (${Spawn[gm].ID}) {
/echo GM has entered the zone!
/popup [GM IN ZONE, PAUSING MACRO UNTIL THEY LEAVE]
/beep
/afk Brb, Went to go get some food!
/delay 5s
/goto :check
}
/doevents next
/return
|--------------------------------------------------|
|Opens the Chests
|--------------------------------------------------|
Sub Open
/declare i int local
/delay 1s
/for i 1 to 3
/target caravan_chest next
/if (${Target.ID}) {
/delay 0.5s
/open
/delay 0.5s
/echo Chest${i} finished.
}
/next i
/echo Done Opening the Three Chests, Enjoy your exp.. Pausing until they respawn
/delay 15m
/return
Last edited: