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

[Prośba] Punkty domów


EroQs

Rekomendowane odpowiedzi

Opublikowano

Witam potrzebuje skryptu nie wiem czy da sie takiego zrobić :D Otóż zakładam serwer Harry Potter jak wiecie albo nie wiecie były tam 4 domy Gryffindor Hufflepuffle Slytherin i Ravencalw potrzebuje takiego skryptu w ktorym dało by się dawać punkty do tych domów przez komęde /daj Ravencalw (liczba punktow) potem komędą /punkty pokazywały się wszystkie domy a obok nich punkty

67000398651719523803.png

Opublikowano

Zaraz Ci to napiszę i dam EDITa.

 

 

@EDIT:

 

Proszę bardzo oto skrypt:

 

 

variables:
    {punkty.Gryffindor} = 0
    {punkty.Slytherin} = 0
    {punkty.Ravenclaw} = 0
    {punkty.Hufflepuff} = 0
command /daj [<text>] [<number>]:
    permission: punkty.daj
    trigger:
        If arg 1 is "Gryffindor":
            If arg 2 is set:
                add arg 2 to {punkty.Gryffindor}
                Send "&6Do domu &cGryffindor &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is "Slytherin":
            If arg 2 is set:
                add arg 2 to {punkty.Slytherin}
                Send "&6Do domu &cSlytherin &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is "Ravenclaw":
            If arg 2 is set:
                add arg 2 to {punkty.Ravenclaw}
                Send "&6Do domu &cRavenclaw &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is "Hufflepuff":
            If arg 2 is set:
                add arg 2 to {punkty.Hufflepuff}
                Send "&6Do domu &cHufflepuff &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is not set:
            If arg 2 is not set:
                Send "&cPoprawne uzycie: /daj <dom> <punkty>"
                stop trigger
        If arg 1 is not "Gryffindor" or "Slytherin" or "Ravenclaw" or "Hufflepuff":
            Send "&cPoprawne uzycie: /daj <dom> <punkty>"
            stop trigger
command /punkty:
    permission: punkty.pokaz
    trigger:
        Send "&6Punkty zdobyte przez domy Hogwartu:"
        Send "&2Gryffindor &7- &c%{punkty.Gryffindor}%"
        Send "&2Slytherin &7- &c%{punkty.Slytherin}%"
        Send "&2Ravenclaw &7- &c%{punkty.Ravenclaw}%"
        Send "&2Hufflepuff &7- &c%{punkty.Hufflepuff}%"
        stop trigger
 

 

Jak chcesz opcje odejmowania punktów to pisz.

Opublikowano

 

Zaraz Ci to napiszę i dam EDITa.

 

 

@EDIT:

 

Proszę bardzo oto skrypt:

 

 

variables:
    {punkty.Gryffindor} = 0
    {punkty.Slytherin} = 0
    {punkty.Ravenclaw} = 0
    {punkty.Hufflepuff} = 0
command /daj [<text>] [<number>]:
    permission: punkty.daj
    trigger:
        If arg 1 is "Gryffindor":
            If arg 2 is set:
                add arg 2 to {punkty.Gryffindor}
                Send "&6Do domu &cGryffindor &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is "Slytherin":
            If arg 2 is set:
                add arg 2 to {punkty.Slytherin}
                Send "&6Do domu &cSlytherin &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is "Ravenclaw":
            If arg 2 is set:
                add arg 2 to {punkty.Ravenclaw}
                Send "&6Do domu &cRavenclaw &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is "Hufflepuff":
            If arg 2 is set:
                add arg 2 to {punkty.Hufflepuff}
                Send "&6Do domu &cHufflepuff &6zostalo dodane &c%arg 2% &6punktow"
                stop trigger
        If arg 1 is not set:
            If arg 2 is not set:
                Send "&cPoprawne uzycie: /daj <dom> <punkty>"
                stop trigger
        If arg 1 is not "Gryffindor" or "Slytherin" or "Ravenclaw" or "Hufflepuff":
            Send "&cPoprawne uzycie: /daj <dom> <punkty>"
            stop trigger
command /punkty:
    permission: punkty.pokaz
    trigger:
        Send "&6Punkty zdobyte przez domy Hogwartu:"
        Send "&2Gryffindor &7- &c%{punkty.Gryffindor}%"
        Send "&2Slytherin &7- &c%{punkty.Slytherin}%"
        Send "&2Ravenclaw &7- &c%{punkty.Ravenclaw}%"
        Send "&2Hufflepuff &7- &c%{punkty.Hufflepuff}%"
        stop trigger
 

 

Jak chcesz opcje odejmowania punktów to pisz.

Dziękuje ci bardzo :D jak bys mógł zrobić opcje odejmowania było by cudownie

67000398651719523803.png

Opublikowano
variables:

{punkty.Gryffindor} = 0

{punkty.Slytherin} = 0

{punkty.Ravenclaw} = 0

{punkty.Hufflepuff} = 0

command /daj [<text>] [<number>]:

permission: punkty.daj

trigger:

If arg 1 is "Gryffindor":

If arg 2 is set:

add arg 2 to {punkty.Gryffindor}

Send "&6Do domu &cGryffindor &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is "Slytherin":

If arg 2 is set:

add arg 2 to {punkty.Slytherin}

Send "&6Do domu &cSlytherin &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is "Ravenclaw":

If arg 2 is set:

add arg 2 to {punkty.Ravenclaw}

Send "&6Do domu &cRavenclaw &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is "Hufflepuff":

If arg 2 is set:

add arg 2 to {punkty.Hufflepuff}

Send "&6Do domu &cHufflepuff &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is not set:

If arg 2 is not set:

Send "&cPoprawne uzycie: /daj <dom> <punkty>"

stop trigger

If arg 1 is not "Gryffindor" or "Slytherin" or "Ravenclaw" or "Hufflepuff":

Send "&cPoprawne uzycie: /daj <dom> <punkty>"

stop trigger

command /odejmij [<text>] [<number>]:

permission: punkty.odejmij

trigger:

If arg 1 is "Gryffindor":

If arg 2 is set:

remove arg 2 from {punkty.Gryffindor}

Send "&6Do domu &cGryffindor &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is "Slytherin":

If arg 2 is set:

remove arg 2 from {punkty.Slytherin}

Send "&6Do domu &cSlytherin &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is "Ravenclaw":

If arg 2 is set:

remove arg 2 from {punkty.Ravenclaw}

Send "&6Do domu &cRavenclaw &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is "Hufflepuff":

If arg 2 is set:

remove arg 2 from {punkty.Hufflepuff}

Send "&6Do domu &cHufflepuff &6zostalo dodane &c%arg 2% &6punktow"

stop trigger

If arg 1 is not set:

If arg 2 is not set:

Send "&cPoprawne uzycie: /odejmij <dom> <punkty>"

stop trigger

If arg 1 is not "Gryffindor" or "Slytherin" or "Ravenclaw" or "Hufflepuff":

Send "&cPoprawne uzycie: /odejmij <dom> <punkty>"

stop trigger

command /punkty:

permission: punkty.pokaz

trigger:

Send "&6Punkty zdobyte przez domy Hogwartu:"

Send "&2Gryffindor &7- &c%{punkty.Gryffindor}%"

Send "&2Slytherin &7- &c%{punkty.Slytherin}%"

Send "&2Ravenclaw &7- &c%{punkty.Ravenclaw}%"

Send "&2Hufflepuff &7- &c%{punkty.Hufflepuff}%"

stop trigger

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...