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

[Potrzebuje] Skrypt malutki szybko!


Rekomendowane odpowiedzi

Opublikowano

Potrzebuje skrypt że po wpisaniu /zapros <nick> danemu graczu który został zaproszony pokaże się informacja Aby zaakceptować zaproszenie wpisz /akceptuj a żeby odrzucić wpisz /odrzuc. Po wpisaniu komendy /akceptuj ma się aktywować komenda /add. A po wpisaniu /odrzuc ma się tylko pokazać graczowi który wpisał tą komendę info że Odrzuciłeś zaproszenie, a graczowi który zaprosił gracza ma się pokazać Gracz odrzucił zaproszenie..

 

SZYBKO !!!

x

Opublikowano

Ale na co ma być ten skrypt bo te komendy i ten dupny opis nic mi nie mówi...

Jak powiesz do czego ma być ten skrypt to Ci może to znajdę...

Zapraszam do lajkowania!!! Pomgołem/Podoba Ci się moja treść? Daj Like i zostaw coś po sobie :)


thumb_pre_1374837071__884049964027144348


Opublikowano

Znalazłem gdzieś w necie:

 

command /tpa <player>:
    description: Teleport to other player with his acceptation
    usage: /tpa <Nick Gracza>
    permission: Skript.tp
    permission message: You don't have permission to use this command!
    trigger:
        if {jail.%player%} is set:
            damage player by 5
            send "<gold>You can't escape!" to player
            stop
        if {jail.%argument%} is set:
            damage player by 1
            send "<gold>You can't teleport to jail yourself!" to player
            stop
        send "You're teleporting to %argument%. Wait for his acceptation" to player
        wait 1 seconds
        send "%player% want to teleport to you" to argument
        send "Write /tpa, or /tpd" to argument
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
            set {tp.%player%} to false


        
command /tpaaccept <player>:
    description: Accept player's teleport request
    usage: /tpaacept <player>
    permission: Skript.tpa
    permission message: You don't have permissions to use this command!
    aliases: tpa
    trigger:
        send "You've accepted %argument%'s teleport request" to player
        if {tp.%argument%} is false:
            set {tp.%argument%} to true
        send "%player%'s accepted your teleport request" to argument
        
command /tpadeny <player>:
    description: Deny player's teleport request
    usage: /tpadeny <player>
    permission: Skript.tpd
    permission message: You don't have permissions to use this command!
    aliases: tpd
    trigger:
        send "You've denied %argument%'s teleport request" to player
        send "%player%'s denied your teleport request" to argument

Pisze pluginy na zamówienie ! Skype: elfusion200

Opublikowano

 

Znalazłem gdzieś w necie:

command /tpa <player>:
    description: Teleport to other player with his acceptation
    usage: /tpa <Nick Gracza>
    permission: Skript.tp
    permission message: You don't have permission to use this command!
    trigger:
        if {jail.%player%} is set:
            damage player by 5
            send "<gold>You can't escape!" to player
            stop
        if {jail.%argument%} is set:
            damage player by 1
            send "<gold>You can't teleport to jail yourself!" to player
            stop
        send "You're teleporting to %argument%. Wait for his acceptation" to player
        wait 1 seconds
        send "%player% want to teleport to you" to argument
        send "Write /tpa, or /tpd" to argument
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
        wait 1 second
        if {tp.%player%} is true:
            send "%player% will teleport to you in..." to argument
            send "You will teleport to %argument% in... " to player
            wait 1 second
            send "5 seconds" to player
            send "5 seconds" to argument
            wait 1 second
            send "4 seconds" to player
            send "4 seconds" to argument
            wait 1 second
            send "3 seconds" to player
            send "3 seconds" to argument
            wait 1 second
            send "2 seconds" to player
            send "2 seconds" to argument
            wait 1 second
            send "1 second" to player
            send "1 second" to argument
            wait 1 second
            teleport player to argument
            send "%player% was succesfully teleported to you" to argument
            send "You've sucesfully teleported %argument% to you" to player
            set {tp.%player%} to false


        
command /tpaaccept <player>:
    description: Accept player's teleport request
    usage: /tpaacept <player>
    permission: Skript.tpa
    permission message: You don't have permissions to use this command!
    aliases: tpa
    trigger:
        send "You've accepted %argument%'s teleport request" to player
        if {tp.%argument%} is false:
            set {tp.%argument%} to true
        send "%player%'s accepted your teleport request" to argument
        
command /tpadeny <player>:
    description: Deny player's teleport request
    usage: /tpadeny <player>
    permission: Skript.tpd
    permission message: You don't have permissions to use this command!
    aliases: tpd
    trigger:
        send "You've denied %argument%'s teleport request" to player
        send "%player%'s denied your teleport request" to argument

 

hmmm tutaj jest może część kodu która by mi się przydała ale wole się nie bawić w usuwanie bo się na tym nie znam objaśnie może zastosowanie skryptu, posiadam islandworlda lecz tam jest komenda /island add <player> która dodaje gracza do wysp bez żadnej akceptacji czy odrzucania i właśnie chciałem żeby była możliwość odrzucenia zaproszenia do wyspy oraz akceptowanie i przy akceptacji aktywuje się komenda /island add <player> a przy odrzuceniu po prostu osobie która zapraszała pokaże się info że gracz odrzucił zaproszenie i tyle.

x

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...