Solved Viewing a message (problem)

  • 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 community!

    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.

DoctorHyper

Member
Jul 22, 2017
19
0
1
I have made this simple 999 skript that should send a message to all police / firefighters / medics in the chat, that have that permission to view it. But how do I make it so the person that sent it sees the message also..

This is the skript:
Code:
command /999 [<text>]:
    trigger:
        loop all players:
            if loop-player has permission "police.999":
                send "&4[999]&f: %player's display name%&7: %arg 1%" to loop-player
 
Code:
command /999 [<text>]:
    trigger:
        loop all players:
            if loop-player has permission "police.999":
                send "&4[999]&f: %player's display name%&7: %arg-1%" to loop-player
                send "&4[999]&f: %player's display name%&7: %arg-1%" to player
 
Still dont see the message when im deoped and have no permission to see the message that i sent..
 
Try this!

Code:
command /999 [<text>]:
    trigger:
        send "&4[999]&f: %player's display name%&7: %arg-1%" to player
        loop all players:
            if loop-player has permission "police.999":
                send "&4[999]&f: %player's display name%&7: %arg-1%" to loop-player
 
Status
Not open for further replies.