Author Topic: Allowing spaces in serverCmd variables.  (Read 510 times)

Yeah. Never tried this before, never needed to.

It's probably something obvious, but could someone explain it to me anyways?

make multiple variables
EX:
Code: [Select]
function serverCmdRawr(%client,%worda,%wordB,%wordC,%wordD)
{
   echo(%worda SPC %wordB SPC %wordC SPC %wordD);
}

make multiple variables
EX:
Code: [Select]
function serverCmdRawr(%client,%worda,%wordB,%wordC,%wordD)
{
   echo(%worda SPC %wordB SPC %wordC SPC %wordD);
}

I'm pretty sure there's a way to do it by setting a maximum amount of letters and then checking the letters within that range.

Would something like this work:
%text = getSubStr(getSubStr(%text), 0, 120);

I'm a bit skeptical, though.
« Last Edit: July 02, 2010, 10:09:58 PM by otto-san »

The way ZSNO posted is the only way there is.

The way ZSNO posted is the only way there is.
Interesting.