You can just use an alternative character, such as the underscore char...
Here's some code I made and uploaded to the IRK server, it uses the underscore key as a space:
function serverCmdSettag(%client, %tagunderscores) // Rename params here!
{
%tag = strReplace(%tagunderscores, "_", " ");
%tag = stripTrailingSpaces(%tag); // Not sure if there is a stripStartingSpaces or something...
// Add your code here!
if(%tag $= "" || %tag $= " ") { %client.player.setShapeName(%client.netName); return; }
%client.player.setShapeName(%client.netName @" ["@%tag@"]");
// Stop adding your code here!
// Function template by Sticky
}
Voila! Now simply modify, cued by comments.
So, using your code you'd want a function like this:
function serverCmdMe(%client, %met)
{
%me = strReplace(%met, "_", " ");
%me = stripTrailingSpaces(%me);
messageAll('', "\c1"@%client.netName@" "@%me); // Function by Sticky
}
Voila! Feel free to use the code wherever you like. Tag or me, doesn't matter, as long as you leave my stupid credits as a comment in your function somewhere.
By the way, wouldn't using %1 and %2 in "messageAll('', '%1 %2', %client.name, %text);" use the first params, not the first undefined params in the function? So, that would just generate an error and crash if what I'm saying is right. If not, ignore.