Ok so im making this timer. so far the !settimer part works but the !timer part doesn't. heres the whole thing.
ON *:TEXT:!settimer:#: {
if ( $nick isvo $chan) || ($nick ishop $chan) || ($nick isop $chan) { notice $nick you have set your start time as $time | set %timer $+ $nick $ctime | halt }
else {notice $nick you need to be voiced or above to use this command | halt }
}
ON *:TEXT:!timer:#: {
if ( %timer $+ $nick == $null ) {notice $nick you need to start a timer to see the duration passed | halt }
else { notice $nick $duration($calc($ctime - %timer [ $+ [ $nick ] ])) have passed since you started the timer... | halt }
}