Hi, I've been a member since early WoD and I'd like to give something back in return to this awesome community.
I googled the macro and didn't see anything similar in this forum or any other English forums.
This macro bellow will prevent you being logged out when you afk for more than 30 min.
Just copy the macro bellow and click it, it will show "ON." in the chat when you click on it the first time(activating it) and "OFF." when you click it again after the first click(deactivating it).
/script T,F=T or 0,F or CreateFrame("frame")if X then X=nil print("OFF.")else print("ON.") X=function()local t=GetTime()if t-T>1 then StaticPopup1Button1:Click()T=t end end end F:SetScript("OnUpdate",X)
You can change the ON or OFF in the macro to anything you like, it's the thing that shows up in the chat to tell you if it's on or off.
How it works:
What the macro does is, it simply clicks on the first option of any system popped box/bubble, such as duel confirmation or group invites etc.
Why it works:
When you afk for more than 30 min outside major cities (inns, garrisons, etc.) a 20 sec logout timer will pop up, just like when you press logout when you're not in the zones mentioned above.
The macro will then automatically hit the cancel button, as it's the only option in that pop up box/bubble.
Why should I use it?
Pros:
-no need for any program or bot that will put your account at risk
-simple to use, just need to know how to copy and paste
-can't ban you cause it's merely a macro function so go fk yourself blizz
Cons:
-you'll auto accept any group or duel invitation (can block duel invitations from control settings)
-only works in zones where there's a 20 sec logout timer, basically anywhere except major cities or inns or garrisons
?????
Profit
So, enjoy!