on *:text:*:#: {
if ($1 == !logout) {
$+(.timerlogout,$nick) 1 64800 msg $chan Logged Out.
msg $chan Starting logout.
}
elseif ($1 == !login) {
if $timer($+(logout,$nick)) {
$+(.timerlogout,$nick) off
msg $chan Logout terminated.
}
else msg $chan Not logging out.
}
elseif ($1 == !time) {
if $timer($+(logout,$nick)) {
msg $chan $duration($timer($+(logout,$nick)).secs) left until logged out.
}
else msg $chan Not logging out.
}