Code:
alias extimer {
if (!$1) { 
echo -st /extimer error: wrong format
}
else {
if ($right($1,1) == +) {
if ($gettok($1,1,43) isnum 1-$timer(0)) {
var %x = $gettok($1,1,43)
while (%x <= $timer(0)) {
$+(.timer,%x) off 
inc %x
}
echo -st Halted Timers $gettok($1,1,43) and up
}
elseif ($gettok($1,1,43) !isnum 1-$timer(0)) {
echo -st /extimer error: The Active Timers Are $timer(0)
}
}
elseif ($right($1,1) == -) {
if ($numtok($1,45) == 1) {
if ($gettok($1,1,45) isnum 1-$timer(0)) {
var %x = 1 
while (%x <= $gettok($1,1,45)) {
$+(.timer,%x) off
inc %x 
}
echo -st Halted Timers $gettok($1,1,45) and down 
}
elseif ($gettok($1,1,43) !isnum 1-$timer(0)) {
echo -st /extimer error: the active timers are $timer(0) 
}
}
elseif ($numtok($1,43) == 2) {
if ($gettok($1,1,43) isnum 1-$timer(0)) || ($gettok($1,2,43) isnum 1-$timer(0)) {
var %x = $gettok($1,1,43)
while (%x <= $gettok($1,2,43)) {
$+(.timer,%x) off
}
echo -st Halted Timers From $gettok($1,1,43) to $gettok($1,2,43)
}
else {
if ($gettok($1,1,43) !isnum 1-$timer(0)) || ($gettok($1,2,43) !isnum 1-$timer(0)) {
echo -st /timerex error: Wrong Format ( $1 )
}
}
}
}
}

i cant test it on my own cause im not on my pc.
May Khaled be with you :p
Not exactly the format you asked for but i think it could work for now :p

Last edited by OrFeAsGr; 10/03/15 02:54 AM.