-
Posted by jummes on Wed, 23 May 2012 16:01:40
Hi. How to make such team:
/ command test test
That it was possible to write down so:
/ co ma n d tes t test
And that it worked.
That there was a possibility to put gaps but team worked.
-
Posted by jnwhiteh on Wed, 23 May 2012 22:01:23
I don't understand your question. The first part has to be static. If you could rephrase your question I might be able to answer.
-
Posted by jummes on Thu, 24 May 2012 15:09:27
I don't understand your question. The first part has to be static. If you could rephrase your question I might be able to answer.
I want to make team which will independently work where retreat is put.
For example the standard team is written so
/ comand test test
And I would like to make that it was possible to put a gap in any place and it worked.
For example
/ com ma nd testtest
That there was a gap or there was no it but team that worked.
And how to make check on component existence in the addons base?
-
Posted by jnwhiteh on Thu, 24 May 2012 17:40:34
The translation from whatever your native language is is not going well. You can't split the front part of a slash command. If you register a command as /monkey, then the only way to make it work for /monk and /mon and /mo is to register all of those independently. That's a really terrible solution.
Why do you need this?
I also do not understand your last question either.
-
Posted by jummes on Thu, 24 May 2012 17:47:20
The translation from whatever your native language is is not going well. You can't split the front part of a slash command. If you register a command as /monkey, then the only way to make it work for /monk and /mon and /mo is to register all of those independently. That's a really terrible solution.
Why do you need this?
I also do not understand your last question either.
Simply I have a code:
SlashCmdList ["TEST"] = functiontest; SLASHTEST1 = "/testaddonmessage"
And I have a team
/ testaddonmessage
As to me to make that it worked so:
/ test addon message
Through "if" I do not want to do. How still it is possible to make?
-
Posted by jummes on Thu, 24 May 2012 17:47:41
The translation from whatever your native language is is not going well. You can't split the front part of a slash command. If you register a command as /monkey, then the only way to make it work for /monk and /mon and /mo is to register all of those independently. That's a really terrible solution.
Why do you need this?
I also do not understand your last question either.
Simply I have a code:
> SlashCmdList ["TEST"] = function_test; > SLASH_TEST1 = "/testaddonmessage"
And I have a team
/ testaddonmessage
As to me to make that it worked so:
/ test addon message
Through "if" I do not want to do. How still it is possible to make?
-
Posted by jnwhiteh on Thu, 24 May 2012 18:41:33
SLASH_TEST2 = "/test"