Sandhu255
2013-01-08 21:36:03
It doesn't work for some reason, I was woundering if someone could help me fix it ?? :/
on *:TEXT:!58x2:#FCNAME: {
if ($nick isvoice $chan || $nick isreg $chan) { msg $chan 4only ranks may start a 58x2. | return }
if ($2 !ison $chan) { msg $chan $2 is not a valid nick. | halt }
if (!$3) { msg $chan Invalid format. Use: !58x2 user pot | halt }}
set $2 $3
var %preroll = $rand(2,100), %p = $gettok($3,3,32), %d2 = $gettok($2,2,32)
if (%preroll < 58) { msg $chan 4 $nick 9has rolled a 4[ %preroll ]9 sorry 4 %d2 9 you lost the %p pot! }
else { msg $chan 4 $nick 9has rolled a 4[ %preroll ]9 congrats 4 %d2 9 you won the %p pot!}
}