Author Topic: Slash commands improvement  (Read 1054 times)

Badspot, would it be possible to send the entire command string as an additional parameter to a servercmd?

Example:
Code: [Select]
function ServerCmdMe(%client, %a, %b, %c, %d, %commandstr){
  MessageAll("", "\c6" @ %client.name SPC getwords(%commandstr, 1));
}

Someone enters /me builds something cool, it would show up in the chat hud as Blockhead1234 builds something cool

Badspot

  • Administrator
I could fix it so it supports unlimited parameters, then you could just put the sentence back together with SPC

Yes, that would be good too.

I could fix it so it supports unlimited parameters, then you could just put the sentence back together with SPC


Idk what you say, but I like the /me thinggy

I think he wants the text as one variable instead as one per word.