1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Send message to a variable

Discussion in 'Skript' started by KaramDoesMC, Jun 21, 2020.

Thread Status:
Not open for further replies.
  1. KaramDoesMC

    KaramDoesMC Member

    Joined:
    Jun 21, 2020
    Messages:
    17
    Likes Received:
    0
    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)
     
  2. PC1up

    PC1up Member

    Joined:
    Jun 14, 2020
    Messages:
    15
    Likes Received:
    1
    Code (Text):
    1. command /guildchat <text>:
    2.     trigger:
    3.         loop {guild::memberlist::%{guild::%executor's uuid%}%::*}:
    4.             send "&6[GUILD] %player%&a: %arg-1%" to loop-value parsed as offline player
    should work
     
    #2 PC1up, Jun 21, 2020
    Last edited: Jun 21, 2020
  3. KaramDoesMC

    KaramDoesMC Member

    Joined:
    Jun 21, 2020
    Messages:
    17
    Likes Received:
    0
    Thank you So Much it works!!!!!!
     
  4. PC1up

    PC1up Member

    Joined:
    Jun 14, 2020
    Messages:
    15
    Likes Received:
    1
    No problem. Don't forget to mark as Solved (Thread Tools -> Edit Title -> Change Prefix)
     
  5. KaramDoesMC

    KaramDoesMC Member

    Joined:
    Jun 21, 2020
    Messages:
    17
    Likes Received:
    0
    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
     
  6. PC1up

    PC1up Member

    Joined:
    Jun 14, 2020
    Messages:
    15
    Likes Received:
    1
    This should work
    Code (Text):
    1. command /guildchat <text>:
    2.     trigger:
    3.         loop {guild::memberlist::%{guild::%executor's uuid%}%::*}:
    4.             if loop-value parsed as offline player is online:
    5.                 if loop-value parsed as player is in world "%player's world%":
    6.                     send "&6[GUILD] %player%&a: %arg-1%" to loop-value parsed as offline player
     
  7. KaramDoesMC

    KaramDoesMC Member

    Joined:
    Jun 21, 2020
    Messages:
    17
    Likes Received:
    0
    Yea I will just answer this please
    --- Double Post Merged, Jun 21, 2020, Original Post Date: Jun 21, 2020 ---
    THX SO MUCH!!!!!!!!!!
     
    • Friendly Friendly x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...