What? GlobleChat?
I am making a punctuation mod, but I need to know ALL the variables for the function "GlobleChat".
I am editing the function (Using packages). I can't use CommandToServer
You'd much rather use serverCmdMessageSent(%client,%msg)You can omit values.
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.
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");