Replacing text in messages

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

FlameikTV

Member
May 22, 2020
19
2
3
24
Hi,
I want to change emotes, that players write in chat in the format :emoji_stuck_out_tongue:og: into this symbol: ⻜, but it doesn't work now :emoji_frowning:

Code:
if message contains ":pog:":
     replace all ":pog:" in message with "⻜"
(Yes, it is in "on chat:"..)

Edit: When the player sends :emoji_stuck_out_tongue:og: in chat, it shows the message :emoji_stuck_out_tongue:og: not the emote (or the symbol, that is set to emote with resource pack)..

Thank you <3
 
Last edited:
Hi,
I want to change emotes, that players write in chat in the format :emoji_stuck_out_tongue:og: into this symbol: ⻜, but it doesn't work now :emoji_frowning:

Code:
if message contains ":pog:":
     replace all ":pog:" in message with "⻜"
(Yes, it is in "on chat:"..)

Edit: When the player sends :emoji_stuck_out_tongue:og: in chat, it shows the message :emoji_stuck_out_tongue:og: not the emote (or the symbol, that is set to emote with resource pack)..

Thank you <3
This works for me:
code_language.skript:
on chat:
    if message contains ":pog:"
        replace all ":pog:" with "⻜" in message
 
Status
Not open for further replies.