[FilterScript] K-RCON - Simple RCON system based on dialogs
#7

Quote:
Originally Posted by AndySedeyn
View Post
Also, strings are never empty. Doing the following will therefor not work:
PHP Code:
if(!inputtext[0]) 
Use isnull instead:
PHP Code:
if(!isnull(inputtext)) 
isnull is included in zcmd.
By default they are empty (string[0] = EOS). Isnull kind of does the same thing to that line of code.

You can use sscanf or strnull.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)