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 custom message skript not working

Discussion in 'Skript' started by ItzarReal, Dec 12, 2020.

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

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    so i invented these things on my server called MinePhones. I want to make it so theres a text message app. Heres my code:
    Code (Text):
    1.  
    2. command /minemsg <player> <text>:
    3.     trigger:
    4.         {latestmessage} = args 2
    5.         {recipient} = args 1
    6.         open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
    7.         format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}
    8.  
    there are no error messages. It just wont work.

     
  2. Best Answer:
    Post #5 by ItzarReal, Dec 16, 2020
  3. BadName

    BadName Member

    Joined:
    Oct 23, 2020
    Messages:
    23
    Likes Received:
    0

    This might work.

    Code (Text):
    1. command /minemsg <player> <text>:
    2.     trigger:
    3.         set {latestmessage} to args 2
    4.         set {recipient} to args 1
    5.         open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
    6.         format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}
     
  4. ItzarReal

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    its exactly the same.
    --- Double Post Merged, Dec 15, 2020, Original Post Date: Dec 15, 2020 ---
    this is self solved.
     
  5. BadName

    BadName Member

    Joined:
    Oct 23, 2020
    Messages:
    23
    Likes Received:
    0
    Do you have TuSKe? this code requires it
     
  6. ItzarReal

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    i already solved this, and yes i have tuske
     
Thread Status:
Not open for further replies.

Share This Page

Loading...