Why not just keep the script simple?
on :TEXT:.calc:#CHANNEL:{
if $1 == %calc $+ .calc {
if $2 == %calc $+ $null { /calc $2- | halt }
else { /calc $2- | halt }
}
}
alias calc {
if ($1- != $null) {
msg $chan Calculating
msg $chan Result $calc($1-)
else msg $chan Calculater: No parameters given. Halting.
}
}
Open remote paste it in
replace #channel with a channel you want to use it in.
join that channel type .calc 2+2, 3.3*2.5, etc.
good luck :] want more scripts? or need support on this one?
Join #Audity and leave me a message