Author Topic: Client-Sided Chat Console Echo  (Read 365 times)

Can/did someone make a mod for this? It's like the server chat echo but it's for clients.
I remember my friend made something like this before but I lost it long ago.


package ClientChatEcho
{
   function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg)
   {
      parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
      echo(%name @ ": " @ %msg);
   }
};activatepackage(ClientChatEcho);

this?(just made)



package ClientChatEcho
{
   function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg)
   {
      parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
      echo(%name @ ": " @ %msg);
   }
};activatepackage(ClientChatEcho);

this?(just made)
This is not the best way to do it because if you are the host it will echo everything twice.

This is not the best way to do it because if you are the host it will echo everything twice.

It's not that big of a deal for me.
I usually only host dedis anyway.