Originally Posted By: Loki12583
Use a pastebin (or just paste here) code instead of taking a screenshot.

Code:
on *:text:!hit:#:{
  var %draw = $rand(1,11)

  hinc -m blackjack $nick %draw
}

on *:text:!stand:#:{
  var %total = $hget(blackjack,$nick)

  msg # Your total is %total
}


And a draw would only be completely random with an infinitely large deck (otherwise you need to create and 'shuffle' a deck yourself).

I'm need a reset command.
Like if I'll write !New , the total will reset

Thank you smile smile smile

Last edited by shaf12; 15/12/15 08:56 PM.