I can't create any commands.
#14
(09-12-2014, 07:36 AM)LO1ZB Wrote: If you set return to true inside the function:
user send command -> enter hook -> enter function -> finish
set it to false:
user send command -> enter hook -> enter function -> enter command handler -> enter function again -> finish

You shouldn't use the same function for both, unless you know what you are doing. Wink

That's the problem, I have no idea what I'm doing!
I thought the code with the HOOK was part of the command.
If I change the name of that, it fails and I get a "(no name)" error in console.

So I am actually more confused now then 10 minutes ago!

Btw, sorry for hijacking Guandor's topic, but as I had the same problem (in the beginning at least) I thought making a new topic for it would be a bit overkill.
Reply
Thanks given by:


Messages In This Thread
I can't create any commands. - by Guandor - 09-06-2014, 12:09 PM
RE: I can't create any commands. - by Seadragon91 - 09-06-2014, 02:42 PM
RE: I can't create any commands. - by xoft - 09-06-2014, 06:49 PM
RE: I can't create any commands. - by Guandor - 09-07-2014, 04:42 AM
RE: I can't create any commands. - by Lo_Pan - 09-12-2014, 03:49 AM
RE: I can't create any commands. - by NiLSPACE - 09-12-2014, 03:55 AM
RE: I can't create any commands. - by Lo_Pan - 09-12-2014, 03:58 AM
RE: I can't create any commands. - by Seadragon91 - 09-12-2014, 04:47 AM
RE: I can't create any commands. - by Lo_Pan - 09-12-2014, 05:04 AM
RE: I can't create any commands. - by LO1ZB - 09-12-2014, 05:59 AM
RE: I can't create any commands. - by Lo_Pan - 09-12-2014, 07:15 AM
RE: I can't create any commands. - by LO1ZB - 09-12-2014, 07:36 AM
RE: I can't create any commands. - by Lo_Pan - 09-12-2014, 08:24 AM
RE: I can't create any commands. - by LO1ZB - 09-12-2014, 08:34 AM
RE: I can't create any commands. - by Lo_Pan - 09-12-2014, 08:52 AM
RE: I can't create any commands. - by LO1ZB - 09-12-2014, 09:25 AM
RE: I can't create any commands. - by Seadragon91 - 09-12-2014, 06:22 AM
RE: I can't create any commands. - by xoft - 09-12-2014, 07:37 PM
RE: I can't create any commands. - by xoft - 09-12-2014, 07:39 PM
RE: I can't create any commands. - by xoft - 09-12-2014, 07:45 PM
RE: I can't create any commands. - by Lo_Pan - 09-13-2014, 12:16 AM



Users browsing this thread: 1 Guest(s)