0 Members and 1 Guest are viewing this topic.
function FilterChatMessages(SpeakerID: integer; ChatMsg : string) : boolean;
Also it would be useful for implementing private chats (muting for all and then sending msg to the particular player).
/startpm Bonecrusherhibla bla blaok, let's go back to the normal discussion.../endpm
Ex. major typing "noob"message being displayed: 'im such a noob"
But I like idea of filtering commands, so if player type in normal chat "/"(before text) it should write it as a command, and when you type in command text with no / it should be written as a chat text
xThis is the message
zThis is the message
No. What if you want to tell somebody what the command is? I can already see all the frustration comming from "Gah, i forgot to prefix it with 'insert random prefix here'!"
Quote from: FalconPL on April 18, 2014, 09:20:52 amNo. What if you want to tell somebody what the command is? I can already see all the frustration comming from "Gah, i forgot to prefix it with 'insert random prefix here'!"I didn't say that it should change text to command if this text contain /, it should change it to command ONLY if / is at the beginning.
I can already see all the frustration comming from "Gah, i forgot to prefix it with 'insert random prefix here'!"
Yeah - if u want to write (show someone) a command on the chat you can use space as prefix...