Most of us remember the old E-Penis script for the Messenger plus script for Windows live. I was bored and some one asked me on msn to make them one for mIRC. so here it is leechers.
Example: Based on my uptime, my E-Penis is 21.185 Inchs(53.8099 cm).
My largest erection ever was 21.185 inchs(53.8099 cm). Use: /epenis ```mirc alias epenis { if (!%record2) { set %record2 0 set %record2cm 0 } var %inch = $round($calc(0.005 * $uptime),5) var %cm = $round($calc(%inch * 2.540),5) var %record = $round($calc(0.0005 * %record2),5) var %recordcm = $round($calc(%record2cm * 2.540),5) msg $active Based on my uptime, my E-Penis is %inch Inchs( $+ %cm cm). if (%inch > %record2) { set %record2 %inch set %record2cm %cm msg $active My largest erection ever was %record2 inchs( $+ %record2cm cm). } else { msg $active My largest erection ever was %record2 inchs( $+ %record2cm cm). } } ```On the contrary, there are some things that you can fix.
I started fixing it a few minutes ago, but I lost what I had so I'll just say what I think could be changed to make this a better script.
In my opinion, I don't like setting too many variables for a small alias. This also leads to the conversion of inches to centimeters. That can be easily fixed without variables in the end, when all calculations have been done.
But, here are some minor things that you can do:
msg $active...
can also be written as
say...
var %inch = $round($calc(0.005 * $uptime),5)
var %record = $round($calc(0.0005 * %record2),5)
can also be rewritten as
var %inch $round($calc(0.005 * $uptime),5), %record $round($calc(0.0005 * %record2),5)
You misspelled 'inches'. :F
Now where have i seen this before? Oh yea http://www.hawkee.com/snippet/5537/