tbook

tbook

Joined
Aug 11, 2008
Occupation
coding
Location
south carolina
Website

Activity Stream

tbook commented on a Page, Calculator  -  Aug 11, 2008

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

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.