;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Simple Away System
; scripted by nettocash
;
; Email: nettocash@gmail.com
; URL: http://www.i-wwf.net
: IRC: #iwwf on irc.i-wwf.net or #lobby on netto.CamIRC.net
; PayPal Donation: nettocash@gmail.com
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Directions on how to use
;
; Copy and Paste this short IRC Code to your mIRC Remote Editor.
; Then type /away <reason>
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
alias away {
if (($1- == $null) && ($away == $false)) { echo -a Correct Syntax: /away <reason> | HALT }
if (($1- != $null) && ($away != $true)) {
set %away.reason $1-
set %away.ctime $ctime
ame is now away. %away.reason @ $time(h:nn tt)
.away %away.reason
}
else {
if (($AWAY == $true) && (%Away.reason == $null) || (%Away.ctime == $null)) { ame has returned @ $time(h:nn tt) | .away | HALT }
elseif (($AWAY == $true) && (%Away.reason != $null) && (%Away.ctime != $null)) { ame has returned at $time(h:nn tt) from %away.reason after being gone for $duration($calc($ctime - %away.ctime)) $+ | .away | HALT }
}
}