Author Topic: Slash commands  (Read 724 times)

Im making a script with a lot of slash commands in it, should i just keep it as it is or use a gui?

EDIT: All the commands are messages to the client, and they are going to be part of a larger script.
« Last Edit: September 09, 2009, 09:45:52 AM by Steemer »

If clients are going to use it you probably should use both.

Keep the slash commands, because the GUI can call them using commandToServer('commandname',args...);
A client saying /explode is the same thing as commandToServer('explode');, as both will tell the server to do serverCmdExplode(%client) as %client being the client who called the command.

Keep the slash commands, because the GUI can call them using commandToServer('commandname',args...);
A client saying /explode is the same thing as commandToServer('explode');, as both will tell the server to do serverCmdExplode(%client) as %client being the client who called the command.
right, but what i forgot to mention was that they were all text, and part of a larger thing im making.

You can also have the server send commands to the client with commandToClient(%client,'command',%args); which would call clientCmdcommand(%args) on the client.

If ya want, I can make a GUI for you...

If ya want, I can make a GUI for you...
ok, ill pm you the information
you will need multiple gui windows that all are opened by buttons
« Last Edit: September 09, 2009, 02:46:12 PM by Steemer »