Solved custom message skript not working

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

ItzarReal

Member
Oct 21, 2020
19
0
1
23
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:
command /minemsg <player> <text>:
    trigger:
        {latestmessage} = args 2
        {recipient} = args 1
        open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
        format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}
there are no error messages. It just wont work.
 
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:
command /minemsg <player> <text>:
    trigger:
        {latestmessage} = args 2
        {recipient} = args 1
        open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
        format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}
there are no error messages. It just wont work.


This might work.

Code:
command /minemsg <player> <text>:
    trigger:
        set {latestmessage} to args 2
        set {recipient} to args 1
        open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
        format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}
 
This might work.

Code:
command /minemsg <player> <text>:
    trigger:
        set {latestmessage} to args 2
        set {recipient} to args 1
        open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
        format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}
its exactly the same.
[doublepost=1608057896,1608057862][/doublepost]this is self solved.
 
Status
Not open for further replies.