Blockland Forums > Modification Help
What are ALL the variables of "GlobleChat" function? (Badspot, HELP!)
<< < (2/3) > >>
Port:
Why not just use commandToServer( 'messageSent', "cant" );?

NMH_Type::send()->globalChat()->commandToServer( 'messageSent', string );teamChat()->commandToServer( 'teamMessageSent', string );
I do believe the only task of globalChat or teamChat is to filter/format the chat and then send a messageSent or teamMessageSent packet to the server. You can simply skip that whole function and simply send the packet yourself.
adam savage:
I am editing the function (Using packages). I can't use CommandToServer
K2Dionysus:

--- Quote from: adam savage on December 30, 2011, 03:44:16 PM ---I am making a punctuation mod, but I need to know ALL the variables for the function "GlobleChat".

--- End quote ---
Someone has already made a grammar mistake-correction mod. I went to a server and saw it. I asked them about it but he said it was private.
Port:

--- Quote from: adam savage on December 31, 2011, 02:13:10 PM ---I am editing the function (Using packages). I can't use CommandToServer

--- End quote ---

Why not just modify NMH_Type::send( %this )? For your information, you can get the message using NMH_Type.getValue() and modify the message using NMH_Type.setValue("whatever");
Amade:
Are you trying to do this client-side or server-side?
Navigation
Message Index
Next page
Previous page

Go to full version