When String Contain " " (Backslash)
Hello AM,
I try to get the message, the Player write in Chat. When the Message Contains a Backslash i wanna do something. I had the idea to chekc if the string contains a " " but i dont know how. Heres my code: PHP Code:
|
Re: When String Contain " " (Backslash)
if( containi( szTemp, " " ) != 1 )
{ stuff |
Re: When String Contain " " (Backslash)
hey, thanks gonna try that
|
Re: When String Contain " " (Backslash)
Just to let you know, there is NO backslash (\) anywhere in your post.
Also, you say you want to do something if there is a 'backslash' in the command yet you check for a space? |
Re: When String Contain " " (Backslash)
oh sry, i forgot to add the "\". But the thing is the same, isnt it. :)
|
Re: When String Contain " " (Backslash)
Quote:
|
Re: When String Contain " " (Backslash)
PHP Code:
But doesnt matter :D |
Re: When String Contain " " (Backslash)
Quote:
|
Re: When String Contain " " (Backslash)
PHP Code:
|
Re: When String Contain " " (Backslash)
Quote:
|
| All times are GMT -4. The time now is 00:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.