#Chat skript "!" hide

1 messages · Page 1 of 1 (latest)

sand elbow
#

In messages starting with the sign "!" I don't want the sign to appear, how can I do this?

on chat:
    cancel event
    if message starts with "!":
        send "&6%player%: %message%" to all players
    else:
        loop all players within 100 blocks of player:
            send "&9%player%&f: &7%message%" to loop-player
rocky hamlet
fluid wyvern
#

or just subtext it. . .

willow fable
#
  1. U dont have to send a message to all players just dont cancel it after u found out there is a ! in the text and u can use set chat message to "%player%: %message%"ofc u can just use the send to all players if u want
  2. U dont have to set a val for the message just replace the ! in message replace "your prefix" in message with ""
#

i think u can just use send "your text" to all players in radius 100 of playeri have not used it befor but found it herehttps://forums.skunity.com/threads/loop-all-players-in-radius-100-of-the-player.4551/