Blockland Forums > Suggestions & Requests

Slash commands improvement

(1/1)

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

Example:

--- Code: ---function ServerCmdMe(%client, %a, %b, %c, %d, %commandstr){
  MessageAll("", "\c6" @ %client.name SPC getwords(%commandstr, 1));
}
--- End code ---

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

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

TheGeek:
Yes, that would be good too.

Digmaster:

--- Quote from: Badspot on July 14, 2007, 02:41:12 PM ---I could fix it so it supports unlimited parameters, then you could just put the sentence back together with SPC

--- End quote ---


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

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

Navigation

[0] Message Index

Go to full version