I saw this script on hawkee a very long time ago. I recreated it and I feel made it better.
When someone slaps you with a trout, you take it and sell it.
It then records how much money you have made and how much the person has made you in total.
when you make over £1000000 it resets it self.
Hope you like it.
To load it.
Press alt + r. This brings up the script editor. Paste it in and get someone to slap you using a trout.
/server -m irc.purplesurge.com -j #zanacross
:p
Now records the amount of trout you have sold.
on *:action:*:*: {
if ($me isin $2-) && (slap isin $1-) && (trout isin $3-) {
var %i $r(1,20)
var %money $calc(%i * 6)
if (%tmoney >= 1000000) { unset %tmoney }
inc %tmoney %money
inc %ttrout %i
writeini money.ini Fish-moneys $nick $calc(%money + $readini(money.ini, Fish-moneys, $nick))
if (!$chan) { describe $nick takes the trout from $nick and cuts it up into %i pieces. He then sells it for £ $+ %money and now has £ $+ %tmoney $+ . $nick has now made me £ $+ $readini(money.ini, Fish-moneys, $nick) $+ . I have sold %ttrout pieces trout. | halt }
else { describe $chan takes the trout from $nick and cuts it up into %i pieces. He then sells it for £ $+ %money and now has £ $+ %tmoney $+ . $nick has now made me £ $+ $readini(money.ini, Fish-moneys, $nick) $+ . I have sold %ttrout pieces trout. }
}
}