string comparing, no strcmp.
#1

If i want to compare one word with 500 uswest in the server with strcmp it would hang right? Is there a other way to compare strings?
Reply
#2

Quote:
Originally Posted by legodude
Посмотреть сообщение
500 uswest
What?
Reply
#3

Quote:
Originally Posted by legodude
Посмотреть сообщение
If i want to compare one word with 500 uswest in the server with strcmp it would hang right? Is there a other way to compare strings?
strcmp is the only, good way to compare.
The only other way I can think of is replacing '/w' (for example) in a string like '/w trololol'.
Afterwards compare bother strings.

The bad thing about this is that it can easilly be faked, 'grain/wheat' will trigger this too.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)