Set up an autohotkey script that hits the 'w' key every minute (60000) - then, hit enter into a chat window. You will type w's endlessly, but it won't log you out.
Went afk for like 6 hours earlier on Sunday because fuuuuuuck dealing with 9k queues when I can actually play after passing out on Gilg. Worked without issue. But make sure you are not doing other shit or changing focus, as if you miss the logout timer, you are fubar.
Code:
#MaxThreadsPerHotkey 2
F12::
toggle:=!toggle
While toggle{
Send w
Sleep 60000
}
Return
You hit f12 (after starting autohotkey) to start the script, and f12 to stop it.