Z_CMD Issues | Resolved Jonny5 -
_Swift_ - 27.04.2012
Resolved.
Adios, Swift
Re: Using Z_CMD | What Stops Me Using CMD:(C)apitals? -
Jonny5 - 27.04.2012
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.
Re: Z_CMD Issues | Resolved Jonny5 -
_Swift_ - 27.04.2012
Cheers Jonny,
Couldn't Get my Head Around It.. As to Why It Did What It Did,
Aha, So Fustrating, Like Dang.
Adios.
Re: Z_CMD Issues | Resolved Jonny5 -
Ballu Miaa - 27.04.2012
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.
Re: Z_CMD Issues | Resolved Jonny5 -
_Swift_ - 27.04.2012
I Know my Standards, From C# & C++.
It's Just a Thing i was Wondering as I'm Making my Own Includes..
Re: Z_CMD Issues | Resolved Jonny5 -
Jonny5 - 27.04.2012
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.