Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1.  
  2. on *:TEXT:!roll*:#:{
  3. set %dicer $2
  4. set %roll $rand(1,100)
  5. set %pot $remove($3,k,K,m,M,b,B)
  6. set %a $remove($3,0,1,2,3,4,5,6,7,8,9,.)
  7. if (%pot isnum) {
  8. if (%roll >= 60) {
  9. msg $chan 7***3[60x2] 1The percentile die lands on4 %roll $+ 1 %dicer 3wins 1the3 %pot $+ %a pot 1.
  10. }
  11. if (%roll < 60) {
  12. msg $chan 7***3[60x2] 1The percentile die lands on4 %roll $+ 1 %dicer 4loses 1the3 %pot $+ %a pot 1.
  13. }
  14. }
  15. else {
  16. notice $nick 3[ Error ]1 Please Type: 3!Roll <Name> <Pot>1 The pot must include a number and k/m/b }
  17. }
  18. on *:TEXT:!lastroll*:#:{
  19. msg $chan 7***3[60x2] 1The Last Roll Was:4 %roll
  20. }
Add Comment
Please, Sign In to add comment