Solved Making a Chat List

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

Marc

Active Member
Nov 27, 2020
94
0
8
17
Hi, Is there anyway I could make a chat list?
Example:

Im making a punishment system and I want staff to review how much warns a player has

Code:
Command /checkwarns:

Displays:
Warn Issued by (Player) for (Reason)
Warn Issued by (Player) for (Reason)

thank you
[doublepost=1612015962,1611872252][/doublepost]I got some help from another person if you want to know to to do it:

Code:
command /warn <player>:
    trigger:
        set {varibale1} to {variable1} and "Message"

command /checkwarns <player>:
     trigger:
         loop {variable1}:
            send loop-value
 
It's not list variable, use {variable::*}.
Code:
add "message" to {variable::*}
and now you can loop this variable and send loop-value
 
Status
Not open for further replies.