Messages showing in specific world (Skript)

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

SaphoGaming

New Member
Mar 2, 2020
6
0
0
27
So basically, I need a skript that if you are in a world it doesn't show the message you send in the world to people in other worlds, I have bedwars plugin and It shows messages from ingame. In kitpvp I want to see only messages that people send in kitpvp not in survival and etc. Please help
 
Code:
loop all players in world "kitpvp":
    send "blah blah" to loop-player
 
can make that even shorter:
code_language.skript:
on chat:
    cancel event
    send "%player's displayname%: %message%" to all players in world of player
 
Last edited:
can make that even shorter:
Code:
on chat:
    send "%player's displayname%: %message%" to all players in world of player
Don't you need to cancel the chat so it doesn't get sent twice? Or does it cancel automatically