Calculator

By Trav on May 26, 2007

Ok this is extremely small, simple and easy to use script

All you do, is once inserted type !calc #$#
Replace the #s with numbers and the $ either / for divide, * for multiply, + for add or - for subtract

You can add more than 2 numbers and 1 action if you'd like and it's a very simple code

But I think calculator is a very good thing to have for a bot so here it is...

///Insert below in .mrc or .ini file\\\
///Start script\\\

on *:text:!calc*:#: {
  notice $Nick $calc( $2-)
}

///End script\\\

Comments

Sign in to comment.
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.