japp
japp copied to clipboard
Add: Private channel messages
particularly without JA++ client
You mean like:
/channel #off /say_team #off this message is to all players on the off channel
?
Need to re-implement inline channel messages for JA++ tabbed chatbox, was purged when removing dependency on jamp.exe 08d5c7e1f80d716e01dfd11da2b56dc7d1ea801c
Somehow I missed thef fact that it no needs ja++ client sorry for that.
As I see it's still a little complicated to use the channels.
For example I join a channel like /joinchan test testpass
and it can be binded easily that's good.
But then to send message I can only use the console like /msgchan test mymessage
and it can't be binded so I would just press a button and write a message to a channel.
Similar like switiching between team mods but we could switch between channels with a single command and it would make it possible to send message to the channel with the say command or something else.
Also when it sends a message to a client I would write there the channel name so others can see which channel the message is arriving from.
LIke: <channelidentifier/shortname>Playername: message
It would be handy to have a 'listchan' command to list the channels player is in as now you only see the list of channels you are in if you leave one.
What do you think?
My approach was that for non-ja++ clients, the last channel joined would be remembered, and /msgchan would direct output to that. Then we could add a message mode for channels so using say_team would direct messages to the channel.
The JA++ chatbox would support being in multiple channels at once, and automatically add the channel name for any message sent through the (tabbed) chatbox. Or perhaps for the non-tabbed chatbox there could be a mechanism similar to the JA+ client (/c mymsg
would go to last channel joined or such)
If you have seen the JA+ style ui_modsay menu, we might be able to hijack this for channel messages (on ja+ clients?)
Mostly implemented via plugin by the following commits (Working fairly well with tabs on client too):
- Razish/japp@c475ce5
- Razish/japp-assets@ef0a280
- Razish/japp@86c0322
Future improvements:
- Redirect whispers to a
@username
tab - Have a better mod protocol for sending chat events