SHOW:
|
|
- or go back to the newest paste.
1 | function aArray(a) {var alist = a.split("");return alist}; | |
2 | ||
3 | var w=aArray(a); | |
4 | ||
5 | var k="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZãàåáāâäæčçćêēèėéęëįíìîïīłñńœòõøôöōóšßśūùûüúÿżžźÃÅĀÀÁÂÄÆČÇĆĒÊĖÈĘÉËĮÍÎÌÏĪŁÑŃŒÒÕÔØÖŌÓŚŠŪÙÛÜÚŸŻŽŹ@#$&*()’”‘’`“»«”„%-+=/;:,.¡!?¿…‰–—•≠≈\§₩£¢€¥₽#€£¥_^[]{}|<>"; | |
6 | ||
7 | function bArray(k) {var klist=k.split("");return klist}; | |
8 | ||
9 | var q=bArray(k); | |
10 | ||
11 | function bcCompare(w, q) {return w.some(item => q.includes(item))}; | |
12 | ||
13 | var l=bcCompare(w, q); | |
14 | ||
15 | var m=parseInt(a); | |
16 | ||
17 | var d=(Math.floor(Math.random()*256)+1); | |
18 | ||
19 | var z=['🍎','🍌','🍐','🍓']; | |
20 | var az=z[Math.floor(Math.random()*z.length)]; | |
21 | ||
22 | var y=['🍎','🍇','🍌','🍊']; | |
23 | var ay=y[Math.floor(Math.random()*y.length)]; | |
24 | ||
25 | var x=['🍇','🍊','🍓','🍐']; | |
26 | var ax=x[Math.floor(Math.random()*x.length)]; | |
27 | ||
28 | var yz=['[🍒]['+ay+']['+az+']','['+ay+'][🍒]['+az+']','['+ay+']['+az+'][🍒]']; | |
29 | var ayz=yz[Math.floor(Math.random()*yz.length)]; | |
30 | ||
31 | var xx=['[🍒][🍒]['+ax+']','[🍒]['+ax+'][🍒]','['+ax+'][🍒][🍒]']; | |
32 | var axx=xx[Math.floor(Math.random()*xx.length)]; | |
33 | ||
34 | b!="null"?"Please only fill the first field after !slots": | |
35 | l==true?"Please only input numbers after the !slots command. (Ex.!slots 100)": | |
36 | ||
37 | a==c?"Please put a number 1-1000 after the !slots command. (Ex.!slots 100) { Winning table [🍒][🍒][🍒]=8x , [🍌][🍌][🍌]=6x , [🍒][🍒][?]=4x , [🍎][🍎][🍎]=3x , [🍒][?][?]=2x , [?][?][?]=0x }": | |
38 | ||
39 | m>1000?"Please only put numbers 1-1000 after !slots. (Ex.!slots 100)": | |
40 | m<1?"Please only put numbers 1-1000 after !slots. (Ex.!slots 100)": | |
41 | ||
42 | d==256?"Ding Ding Ding!!! @"+e+" landed on [🍒][🍒][🍒]!!! You won big!!! You bet $"+a+" an won $"+Math.floor(a*8)+". Congratulations!!!": | |
43 | d>250?"Congrats!!! @"+e+" landed on [🍌][🍌][🍌]!!! You bet $"+a+" and won$"+Math.floor(a*6)+".": | |
44 | d>240?"You won! @"+e+" landed on "+axx+". You bet $"+a+" and won $"+Math.floor(a*4)+".": | |
45 | d>215?"@"+e+" landed on [🍎][🍎][🍎]. You bet $"+a+" and won $"+Math.floor(a*3)+".": | |
46 | d>165?"Well, you technically won... @"+e+" landed on "+ayz+". You bet $"+a+" and won $"+Math.floor(a*2)+".": | |
47 | d>0?"Oh No! @"+e+" you lost with a roll of ["+ax+"]["+ay+"]["+az+"]. You lost $"+a+".": | |
48 | ||
49 | "Uh Oh if you see this tell potato." |