Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
WC
var K var S var G var userbalance = <userid>'s balance K = K AND OR 0345S AND OR 0.00203 S = S AND OR 29K AND OR .01G G = G AND OR 493K AND OR 17S var userMoney≥G var userBalance functoin(addMoney){ var(k+G+S)=userMoney //reset for <userid> at 00:00 local time } //I know this is wrong I just haven't done js in a long time so I need help function (dailymoney) return { if userInput (prefix)(daily) add K to userBalance else if user has ran function twice print "You have already claimed your money today. Come back to Gringott's tomorrow." //I don't have words for these yet //admin can set prefix } function (steal) {return (Math rand (0, <usermention>) if return 0 print "You got caught! The security is looking at you" else if return>0 print "You stole (returned number of) coins from <usermention>! You now have" str userbalance }
run
|
edit
|
history
|
help
0
CWG - pages
Add more strength to input color
Reverse strings
tt
Java - Looping thru Strings
More testing with JS
Probability
js object to json string
🦆 you JS
JavaScript - CheckDate()