Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Coins prośba o dorobienie ruletki


Marczi12

Rekomendowane odpowiedzi

  • 2 tygodnie później...
Opublikowano

 

command /ruletka [<text>] [<text>] [<text>]:
  trigger:
    if arg 1 is "postaw":
      if arg 2 is number between 0 and 16:
        if arg 3 is less or equal to {coins::%player%}:
          set {_winNumber} to random integer between 0 and 16
          remove arg 3 from {coins::%player%}
          if {_winNumber} is equal to 0:
            if arg 2 is equal to 0:
              add arg 3*14 to {coins::%player%}
              send "&6Trafiles 0! Wygrales 14x %arg 3%"
            if arg 2 is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
              send "&6No coz. Przegrales. Wypadlo ZIELONE"
            if arg 2 is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
              send "&6No coz. Przegrales. Wypadlo ZIELONE"
          if {_winNumber} is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
            if arg 2 is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
              add arg 3*2 to {coins::%player%}
              send "&6Trafiles CZERWONE! Wygrales 2x %arg 3%"
            if arg 2 is equal to 0:
              send "&6No coz. Przegrales. Wypadlo CZERWONE"
            if arg 2 is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
              send "&6No coz. Przegerales. Wypadlo CZERWONE"
          if {_winNumber} is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
            if arg 2 is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
              add arg 3*2 to {coins::%player%}
              send "&6Trafiles CZARNE! Wygrales 2x %arg 3%"
            if arg 2 is equal to 0:
              send "&6No coz. Przegrales. Wypadlo CZARNE"
            if arg 2 is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
              send "&6No coz. Przegrales. Wypadlo CZARNE"
Opublikowano
command /ruletka [<text>] [<number>] [<text>]:
  trigger:
    if arg 1 is "postaw":
      if number-arg is number between 0 and 16:
        if arg 3 is less or equal to {coins::%player%}:
          set {_winNumber} to random integer between 0 and 16
          remove arg 3 from {coins::%player%}
          if {_winNumber} is equal to 0:
            if number-arg is equal to 0:
              add arg 3*14 to {coins::%player%}
              send "&6Trafiles 0! Wygrales 14x %arg 3%"
            if number-arg is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
              send "&6No coz. Przegrales. Wypadlo ZIELONE"
            if number-arg is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
              send "&6No coz. Przegrales. Wypadlo ZIELONE"
          if {_winNumber} is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
            if number-arg is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
              add arg 3*2 to {coins::%player%}
              send "&6Trafiles CZERWONE! Wygrales 2x %arg 3%"
            if number-arg is equal to 0:
              send "&6No coz. Przegrales. Wypadlo CZERWONE"
            if number-arg is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
              send "&6No coz. Przegerales. Wypadlo CZERWONE"
          if {_winNumber} is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
            if number-arg is equal to 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16:
              add arg 3*2 to {coins::%player%}
              send "&6Trafiles CZARNE! Wygrales 2x %arg 3%"
            if number-arg is equal to 0:
              send "&6No coz. Przegrales. Wypadlo CZARNE"
            if number-arg is equal to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
              send "&6No coz. Przegrales. Wypadlo CZARNE" 

Powinno dzialac

 

­

 

 

 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...