Higher Lower

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Jimsk

Member
Mar 13, 2020
21
1
3
23
Category:
Skript 1.15.2


Suggested name:
Higher Lower


Spigot/Skript Version:
2.4.1


What I want:
The game in casinos "Higher Lower"

Ideas for commands:
/higherlower
/hl


Ideas for permissions:
anyone can do it


When I'd like it by: A reasonable time


What i have at the moment:

Code:
command /higherlower [<integer>]:
  aliases: hl
  description: The game higher or lower!
  trigger:
    if arg-1 is set:
      set {_randomnum1} to a random integer between 1 and 10
      set {_randomnum2} to a random integer between 1 and 10
      set {_randomnum3} to a random integer between 1 and 10
      #say first number to player
      #player choses higher or lower
      #if second number is higher and person picks higher moves onto 3rd number
      #if seconds num is higher and person picks lower take money away
      #3rd num is same as second number
      #if person gets 2nd + 3rd number right they win triple money