Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Fit for the new world
Sub AFKTools
/declare holding bool local
/if (${CampZone}!=${Zone.ID}) /return
/if (${Select[${AFKToolsOn},1,2]}) {
:CZLockDown
/if (${Posse.Strangers}>=1) {
/if (!${holding}) {
/echo [AHTools] Macro on hold due to player activity in camp radius.
/call BroadCast ${IRCOn} ${EQBCOn} r "**PCS DETECTED IN CAMP RADIUS**"
/multiline ; /beep ; /timed 1 /beep ; /timed 1 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 1 /beep ; /timed 1 /beep
/varset holding 1
}
/delay 1s
/call CheckForCombat 1 AFKTools
/doevents
/goto :CZLockDown
} else { /varset holding 0 }
/if (${AFKToolsOn}==2 && ${Zone.ID}!=${CampZone}) {
/timed 20 /camp
/end
}
}
/if (${Select[${AFKToolsOn},1,3]}) {
:GMLockDown
/if (${SpawnCount[GM]}>=1) {
/if (${AFKGMAction}==1) {
/if (!${holding}) {
/echo [AHTools] Macro on hold due to GM Presence
/call BroadCast ${IRCOn} ${EQBCOn} r "** GM DETECTED **"
/multiline ; /beep ; /timed 1 /beep ; /timed 1 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 1 /beep ; /timed 1 /beep
/varset holding 1
}
/goto :GMLockDown
} else {
/varset holding 0
}
/if (${AFKGMAction}==2) /multiline ; /echo [AHTools] Ending Macro due to GM Presence ; /mq2log [AHTools] Ending Macro due to GM Presence ; /endmacro
/if (${AFKGMAction}==3) /multiline ; /echo [AHTools] Unloading MQ2 due to GM Presence; /mq2log [AHTools] Unloading MQ2 due to GM Presence ; /unload
/if (${AFKGMAction}==4) /multiline ; /echo [AHTools] Quitting out of EQ due to GM Presence ; /mq2log [AHTools] Quitting out of EQ due to GM Presence ; /quit
}
}
/return
Sub AFKTools
/declare holding bool local
/if (${CampZone}!=${Zone.ID}) {
/if (${AFKToolsOn}==2) {
/timed 20 /camp
/end
}
/return
}
/if (${HealsOn} && ${AggroTargetID}) /return
/if (${Select[${AFKToolsOn},1,2]}) {
/if (${Macro.IsTLO[Posse]}) {
/while (${Posse.Strangers}>=1) {
/if (!${holding}) {
/echo [AHTools] Macro on hold due to player activity in camp radius.
/call BroadCast r "**PCS DETECTED IN CAMP RADIUS**"
/multiline ; /beep ; /timed 1 /beep ; /timed 1 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 1 /beep ; /timed 1 /beep
/varset holding 1
}
/delay 1s
/if (${DPSOn} || ${MeleeOn}) {
/call CheckForCombat 0 AFKTools1 0
} else {
/call CheckForCombat 1 AFKTools2 0
}
/doevents
}
} else {
/varset holding 0
}
}
/if (${Select[${AFKToolsOn},1,3]}) {
|/if (${GMailEvents.Find[GM]} && ${SpawnCount[GM]}>=1) /call GmailSend "GM in Zone, ${Zone.ShortName}"
/if (${SpawnCount[GM]}>=1) {
/if (${AFKGMAction}==1) {
/while (${SpawnCount[GM]}>=1) {
/if (!${holding}) {
/echo [AHTools] Macro on hold due to GM Presence
/call BroadCast r "** GM DETECTED **"
/multiline ; /beep ; /timed 1 /beep ; /timed 1 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 5 /beep ; /timed 1 /beep ; /timed 1 /beep
/varset holding 1
}
}
} else {
/varset holding 0
}
/if (${AFKGMAction}==2) {
/multiline ; /echo [AHTools] Ending Macro due to GM Presence ; /mq2log [AHTools] Ending Macro due to GM Presence ; /endmacro
} else /if (${AFKGMAction}==3) {
/multiline ; /echo [AHTools] Unloading MQ2 due to GM Presence; /mq2log [AHTools] Unloading MQ2 due to GM Presence ; /unload
} else /if (${AFKGMAction}==4) {
/multiline ; /echo [AHTools] Quitting out of EQ due to GM Presence ; /mq2log [AHTools] Quitting out of EQ due to GM Presence ; /quit
}
}
}
/return
