[Vote]STRCMP or ZCMD?
#1

Hello, I am going to script commands in my gReg system .. Which command processors do you want to see in it?

ZCMD or STRCMP?

(( https://sampforum.blast.hk/showthread.php?tid=319526 ))
Reply
#2

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

strcmp>>dcmd>>YCMD/ZCMD
Reply
#4

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

Quote:
Originally Posted by milanosie
Посмотреть сообщение
strcmp>>dcmd>>YCMD/ZCMD
this explains it.
use zcmd or ycmd
Reply
#6

Quote:
Originally Posted by Guitar
Посмотреть сообщение
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.
ZCMD is the most used processor, almsot everybody has it.
The few that don't (or are using YCMD) Probably don't mind downloading it since its just better then strcmp and dcmd.

For the choise between ZCMD and YCMD It depends on your script size

YCMD is faster for very big scripts
Reply
#7

STRCMP is not a command processor. It stands for String Compare for detecting if the string are same or not.
Reply
#8

Quote:
Originally Posted by Twisted_Insane
Посмотреть сообщение
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!
Nope, Y_CMD is the Fastest !

Quote:
Originally Posted by milanosie
Посмотреть сообщение
strcmp>>dcmd>>YCMD/ZCMD
Maybe:
Код:
DCMD < ZCMD < YCMD
Because STRCMP is only for Strings..

BTW, I recommand you ZCMD or YCMD, you choose...
Reply
#9

Quote:
Originally Posted by milanosie
Посмотреть сообщение
ZCMD is the most used processor, almsot everybody has it.
The few that don't (or are using YCMD) Probably don't mind downloading it since its just better then strcmp and dcmd.

For the choise between ZCMD and YCMD It depends on your script size

YCMD is faster for very big scripts
Yeah this is what i use

YCMD

once you get 100 or so cmds youll need it.


This forum requires that you wait 120 seconds between posts. Please try again in 15 seconds.
Reply
#10

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:
Код:
DCMD > ZCMD > YCMD
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)