Jump to content

Recommended Posts

Posted

Hi guys

I need to make a function that when it detects a chat message with a specific string inside it it changes the sent message or deletes it completely (Client side of course).

 

For example:

 

Original:

Someone: Hi, you smell

 

Edited:

Someone: Hi, you *****

 

Thanks :)

Posted
1 minute ago, diesieben07 said:

You browse the repository. Seriously, we are not your butlers...

 

I did without success. If I succeeded I'd just say "thank you" and not ask anything else.

Posted
1 minute ago, diesieben07 said:

Ok, I don't know what Pahimar is up to there again, but that repository is completely pointless. The mod in it does nothing.

 

 

And that is why I probably was not able to find anything.

Posted
18 hours ago, diesieben07 said:

IChatListener was replaced by events, namely ServerChatEvent and ClientChatReceivedEvent.

 

Wait, so is it possible to edit an already sent message?

Posted
7 minutes ago, diesieben07 said:

Yes, you can control that on the server-side using ServerChatEvent.

 

Thank you for replying fast haha - can I do something like this on client side?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.