I Search a command

  • 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!

LauchGame

Member
Nov 24, 2019
11
1
1
24
Category: I Search

Suggested name: execute a command only

Spigot/Skript Version: 1.12.2 / Newest

What I want:
Hello I'm looking for this: I want that you can execute a command only in a certain coordinate

Ideas for commands:
/Equip


Ideas for permissions:
none


When I'd like it by: at 25.11.2019 - 30.11.2019
 
Thanks!
[doublepost=1574619816,1574619159][/doublepost]
Code:
message "&c&lRP>> Du beginnst zu Angeln | Dauert 2 Minuten"
        wait 2 minutes
        if player's location is not "1048 83 1408":
        cancel event
        message "&c&lRP>> Du bist fertig mit Angeln hier ist dein Lohn!"
        set {lohn.%player%} to a random integer between 25 and 124
        wait 1 tick
        make console execute command "eco %player% %{lohn.%player%}%"
[doublepost=1574619853][/doublepost]it not going
Thanks!
[doublepost=1574619816,1574619159][/doublepost]
Code:
message "&c&lRP>> Du beginnst zu Angeln | Dauert 2 Minuten"
        wait 2 minutes
        if player's location is not "1048 83 1408":
        cancel event
        message "&c&lRP>> Du bist fertig mit Angeln hier ist dein Lohn!"
        set {lohn.%player%} to a random integer between 25 and 124
        wait 1 tick
        make console execute command "eco %player% %{lohn.%player%}%"
 
Code:
command /putzen:
    trigger:
        message "&c&lRP>> Du beginnst zu Putzen | Dauert 5 Minuten"
        wait 5 minutes
        message "&c&lRP>> Du bist fertig mit Putzen hier ist dein Lohn!"
        set {lohnnn.%player%} to a random integer between 250 and 400
        wait 1 tick
        make console execute command "eco %player% %{lohnnn.%player%}%"

on command "/putzen":
    if player's location is not location -224, 125, -163:
        cancel event

when i execute this command then come nothing...
 
Code:
command /putzen:
    trigger:
        message "&c&lRP>> Du beginnst zu Putzen | Dauert 5 Minuten"
        wait 5 minutes
        message "&c&lRP>> Du bist fertig mit Putzen hier ist dein Lohn!"
        set {lohnnn.%player%} to a random integer between 250 and 400
        wait 1 tick
        make console execute command "eco %player% %{lohnnn.%player%}%"

on command "/putzen":
    if player's location is not location(-224, 125, -163),
        cancel event

It still can not be done I can still enter the command everywhere ...
[doublepost=1575131102,1575131023][/doublepost]@malia