Before doing anything, please replace YOURUSERNAME with the obvious in the script box below. The script is simple yet more advanced and unique than the others. It cuts up the trout (not really) and 'merchants' it for cash, using the formula you can see in variable %d
I don't expect much of a rating for this, but heck, it's a fun script :P
on *:action:*slaps*YOURUSERNAME*trout*:#: {
var %i = $rand(50,120)
var %d = $mid($calc(%i /2.24),1,$calc($pos($calc(%i /2.24),.,1) + 2))
inc %tsold
inc %tcash %d
describe $chan takes the trout from $+($nick,$chr(44)) cuts it up in %i pieces and merchants them for $+($chr(36),$bytes(%d,db),.) (Trout sold: %tsold Cash: $+($chr(36),$bytes(%tcash,db),$chr(41))
}