!calc

By MartyniP on Apr 05, 2010

Example:

!calc 3.14159 * (2 ^ %x % 3) - ($ticks / (10000 + 1)) 3.14159 * (2 ^ %x % 3) - ($ticks / (10000 + 1)) = 3.14159 !calc help !calc help -^MARTYNI^- Help For !calc -^MARTYNI^- Returns the result of the specified operations. This identifiers allows you to perform multiple operations easily. For example: -^MARTYNI^- !calc 3.14159 * (2 ^ % 3) - ($ticks / (10000 + 1)) -^MARTYNI^- Give the answer: 3.14159 ```mirc ; Created by Martyni Productions ; http://www.martynip.co.cc ; irc.geekshed.net/martyni on *:text:!calc *:#: { if (HELP isin $2) { notice $nick Help For !calc notice $nick Returns the result of the specified operations. This identifiers allows you to perform multiple operations easily. For example: notice $nick !calc 3.14159 * (2 ^ %x % 3) - ($ticks / (10000 + 1)) notice $nick Give the answer: 3.14159 } else { %ans [ $+ [ $nick ] ] = $calc($2-) msg BotServ SAY $chan $nick: $2- = %ans [ $+ [ $nick ] ] unset %ans [ $+ [ $nick ] ] } } ```

Comments

Sign in to comment.
Stewie1k94   -  Mar 18, 2011

seriousy though .co.cc is not a genuine internet code .co.cc are usualy malaware sites right

 Respond  
KilllerX   -  Mar 18, 2011

because that is his website -.- Is the internet really that full of.... -.- Nevermind.

 Respond  
Stewie1k94   -  Mar 18, 2011

can i ask why there is a .co.cc site on ur script where it says who created it

 Respond  
Jethro   -  Apr 05, 2010

else {

 elseif ($2 isnum) {

to make sure $2 is a number, not something else...

 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.