Been bored and i've made this snippet. enjoy! ;)
on *:LOAD:{ set %Trscript on | echo -a 14,1You have loaded the Trout script created by 15CharltonJ 7(15irc.ICWOnline.net7) | echo -a 14,1The script is now enabled7,14 if you wish to disable it right click on a channel and disable it7. | halt }
on *:ACTION:*slaps*around a bit with a large trout*:#:{
if (%trscript == on) {
inc %trout
set %monr $rand(100,300) $+ . $+ $rand(1,99)
writeini trtscript.ini Trout Moneysave $calc($readini(trtscript.ini,Trout,Moneysave) + %monr)
describe $chan 14,1takes15 $nick $+ 07'14s trout and sells it for3 $chr(36) $+ 15 $+ %monr $+ 7.14 Total Money Earned7:3 $chr(36) $+ 15 $+ $readini(trtscript.ini,trout,moneysave) 7[14Trouts Saved7:15 %trout $+ 7]
}
}
menu channel {
-
Trout Script:
.Enable://set %trscript on | echo -a 14,1You have turned the trout script 15ON7.
.Disable://set %trscript off | echo -a 14,1You have turned the trout script 15OFF7.
}