Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Plugin command txt file

Author
Message
TheLion
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 2nd Feb 2024 19:28
Hi, I keep getting "command.txt does not have enough tokens per line" error.
Anyone have an idea as to what is causing this.

Thanks in advance
Leo
SFSW
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 3rd Feb 2024 19:33
That usually means your instruction line is missing one or more required values. This is the needed format:

#CommandName,ReturnType,ParameterTypes,Windows,Linux,Mac,Android,iOS,Windows64

And you need to fill in every field, even if it doesn't apply to the platform you are targeting. Additionally, you also need to include all possible parameter types for those within the function you are calling. So an example with several parameters for Windows might look like this:

MyCommandName,I,SFI,MyCommandWindows,0,0,0,0,MyCommandWindows64

Where 'SFI' is includes a string, float, and integer parameter as specified in the related command name function.
TheLion
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 3rd Feb 2024 20:06
Thanks SFSW, I will recheck the command txt file.

Login to post a reply

Server time is: 2024-04-27 19:18:14
Your offset time is: 2024-04-27 19:18:14