Solved Very easy but ı could not :)

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Yaşarhan

Active Member
May 16, 2020
87
6
8
23
Turkey Istanbul
Hello dear skript workers.
I am trying to send the player name in the command to the execute command.

Code:
command /trd [<player>]:
    trigger:
        execute player command "/trade <%player%>"
        if arg 1 is not set:
            send "&c&l[SYSTEM] &7&l/trade (Player Name)" to player

Many Thanks to everyone interested...

@ShaneBee :emoji_heart_eyes::emoji_flag_de::emoji_heart:
 
Last edited:
Hello dear skript workers.
I am trying to send the player name in the command to the execute command.

Code:
command /trd [<player>]:
    trigger:
        execute player command "/trade <%player%>"
        if arg 1 is not set:
            send "&c&l[SYSTEM] &7&l/trade (Player Name)" to player

Many Thanks to everyone interested...

@ShaneBee :emoji_heart_eyes::emoji_flag_de::emoji_heart:
Lets see if i understood, you need something like this?
code_language.skript:
command /trd [<player>]:
    trigger:
        arg 1 is set:
            player command "trade %arg 1%"
        arg 1 is not set:
            send "&c&l[SYSTEM] &7&l/trade (Player name)" to player
 
  • Like
Reactions: Yaşarhan
Lets see if i understood, you need something like this?
code_language.skript:
command /trd [<player>]:
    trigger:
        arg 1 is set:
            player command "trade %arg 1%"
        arg 1 is not set:
            send "&c&l[SYSTEM] &7&l/trade (Player name)" to player

Yes, this !
Thank you so much, good works.
 
Status
Not open for further replies.