Fishy slaps

By Lord-Harlot on Jun 13, 2008

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. }
  } 
}

Comments

Sign in to comment.
Lord-Harlot   -  Jun 14, 2008

:]
what else could i add to it?

 Respond  
PuNkTuReD   -  Jun 14, 2008

lol this is a gd one

 Respond  
napa182   -  Jun 13, 2008

you can clean up the beginning of the code abit and make it like this

on *:action:$($+(*,slap,*,$me,*,trout,*)):#:{ 
  var %i $r(1,20), %money $calc(%i * 6)
  $iif(%tmoney >= 1000000,unset %tmoney,inc %tmoney %money)
 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.