params
#1

hi,

I want that when there is "*" in the params that the commands is not execute. What can I use ?

thxs
Reply
#2

Simple if check:

PHP код:
if(strfind(params,"*") != -1)
{
    
//Here the * was found
    
return 1;

Reply
#3

use strfind
PHP код:
if(strfind(params,"*")!=-1
{
return 
1;

Edit: Kaliber beat me to it xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)