Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!roll*:#:{
- set %dicer $2
- set %roll $rand(1,100)
- set %pot $remove($3,k,K,m,M,b,B)
- set %a $remove($3,0,1,2,3,4,5,6,7,8,9,.)
- if (%pot isnum) {
- if ($nick isop $chan) || ($nick ishop $chan) {
- if (%roll >= 55) {
- msg $chan 7***3[55x2] 1The percentile die lands on4 %roll $+ 10 %dicer 3wins 1the3 %pot $+ %a pot 1.
- }
- if (%roll < 55) {
- msg $chan 7***3[55x2] 1The percentile die lands on4 %roll $+ 10 %dicer 4loses 1the3 %pot $+ %a pot 1.
- }
- }
- }
- }
- on *:TEXT:!lastroll*:#:{
- msg $chan 7***3[55x2] 1The Last Roll Was:4 %roll
- }
Add Comment
Please, Sign In to add comment