Posts: 929
Threads: 17
Joined: Mar 2012
Reputation:
0
I think it converts all the /cmds you type in to lower case
this way you can do /TeLEpOrT
if you like but your command still is CMD:teleport
any other way would cause the players to remember the casing on the command
this way its not case sensitive.
Posts: 5
Threads: 2
Joined: Apr 2012
Reputation:
0
Cheers Jonny,
Couldn't Get my Head Around It.. As to Why It Did What It Did,
Aha, So Fustrating, Like Dang.
Adios.
Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
Just because it will look good , you will change the first letter of every command to CAPS? Thats lame bruh. Try wasting your time on something better. Which will help you to learn more. Try making up custom natives , callbacks , fs's , custom scripts and more.
Posts: 5
Threads: 2
Joined: Apr 2012
Reputation:
0
I Know my Standards, From C# & C++.
It's Just a Thing i was Wondering as I'm Making my Own Includes..
Posts: 929
Threads: 17
Joined: Mar 2012
Reputation:
0
its just how the zcmd command processor works,and i think dcmd and ycmd also, not sure about others like rcmd
but it makes sense as to why they do it. Its easy to convert the "User typed" string to lower case,
no so much with a function name..
im sure you could edit the zcmd include to be case sensitive,
i never used it so im not really sure, but somewhere there is a strcmp command
with ignorecase set to true. or maybe many, setting it to false might help you.
but that would be counter productive IMHO
esp if you plan to release this include to the community as
there zcmd will only support lowercase commands.
regards.