Posts: 975
Threads: 78
Joined: Feb 2012
Reputation:
0
God, it's a shame that you even ask us still something about STRCMP...Please dude, ZCMD is the best processor, believe me, just please, forget and erase the second one outta your mind!
Posts: 357
Threads: 52
Joined: Feb 2012
Reputation:
0
I know, but I think that some people will be annoyed to see includes in a registration system :S, anyway I'll be using ZCMD.
Posts: 14
Threads: 1
Joined: Feb 2012
Reputation:
0
STRCMP is not a command processor. It stands for String Compare for detecting if the string are same or not.
Posts: 6,129
Threads: 36
Joined: Jan 2009
You should learn why you should use different methods - as opposed to being told simply not to use a method.
strcmp is a basic function which compares two strings; it's used in older scripts to retrieve parameters from commands and is usually combined with strtok, another extremely inefficient splitting routine. The main problem is that it's slower in comparison to the methods zcmd and y_commands use.
dcmd is not all that great either - looking at the macro it even uses strcmp directly in the macro.
y_commands and
zcmd both use a method of converting your commands in to functions and every time someone sends a command through the server it executes the function - it is typically much faster to use, y_commands is apparently faster but I've never looked in to it as I've only used zcmd since its release.
Quote:
Originally Posted by milanosie
strcmp>>dcmd>>YCMD/ZCMD
|
Quote:
Originally Posted by aRoach
Nope, Y_CMD is the Fastest !
Maybe:
Because STRCMP is only for Strings..
BTW, I recommand you ZCMD or YCMD, you choose...
|
Both of you should know how to use the 'more than' and 'less than' operators if you script in this language, it is basic maths and is quite frankly one of the most important things you should know in this language. You have your statement in the wrong order.