on *:TEXT:!blackjack*:#:{ set %7ball $rand(1,10) set %8ball $rand(1,3) set %total $calc(%7ball + 10) if (%8ball == 1) /notice $nick 14You got an 7Jack 14and a 7 %7ball if (%8ball == 2) /notice $nick 14You got a 7King 14and a 7 %7ball if (%8ball == 3) /notice $nick 14You got a 7Queen 14and a7 %7ball } on *:TEXT:!fold:#:{ /msg $chan 7 $nick 14has folded with %total } on *:TEXT:!draw:#:{ set %9ball $rand(1,10) set %total $calc(%9ball + %total) /notice $nick 14you drew a 7 %9ball you have $calc(%9ball + %total) ) } on *:TEXT:!stay*:#:{ /msg $chan 14 $nick 7 is staying with his cards he has %total } on *:TEXT:!clearbj*:#:{ set %7ball 0 set %total 0 set %8ball 0 set %9ball 0 msg $chan Blackjack Is Now Cleared