Solved Send message to a variable

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

KaramDoesMC

Member
Jun 21, 2020
17
0
0
24
Hello! i am using a guild skript and i have ran into a problem \


command /guildchat <text>:
trigger:
send "&6[GUILD] %player%&a: &a%arg-1%" to {guild::memberlist::%{guild::%executor's uuid%}%::*}

this doesnt work please help (MY SERVER RELEASED IN 2 DAYS REPLY AS FAST AS POSSIBLE)
 
Code:
command /guildchat <text>:
    trigger:
        loop {guild::memberlist::%{guild::%executor's uuid%}%::*}:
            send "&6[GUILD] %player%&a: %arg-1%" to loop-value parsed as offline player

should work
 
Last edited by a moderator:
No problem. Don't forget to mark as Solved (Thread Tools -> Edit Title -> Change Prefix)
 
Just a question why doesnt this work

command /guildchat <text>:
trigger:
loop {guild::memberlist::%{guild::%executor's uuid%}%::*}:
send "&6[GUILD] %player%&a: %arg-1%" to loop-value parsed as offline player to player's world
 
This should work
Code:
command /guildchat <text>:
    trigger:
        loop {guild::memberlist::%{guild::%executor's uuid%}%::*}:
            if loop-value parsed as offline player is online:
                if loop-value parsed as player is in world "%player's world%":
                    send "&6[GUILD] %player%&a: %arg-1%" to loop-value parsed as offline player
 
Status
Not open for further replies.