Z_CMD Issues | Resolved Jonny5
#1

Resolved.

Adios, Swift
Reply
#2

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.
Reply
#3

Cheers Jonny,

Couldn't Get my Head Around It.. As to Why It Did What It Did,
Aha, So Fustrating, Like Dang.


Adios.
Reply
#4

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.
Reply
#5

I Know my Standards, From C# & C++.

It's Just a Thing i was Wondering as I'm Making my Own Includes..
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)