This is a very small yet effective script that logs you out at your set stamina threshold.
init start
local lowstamina = (14*60) + 30 -- 14:30 stamina
init end
auto(2000,3000)
if($pzone and lowstamina >= $stamina) then
xlog(true)
end
I realise most people could make this, however I decided to post it for thoose who don't know how to script at all.