Raised This Month: $ Target: $400
 0% 

redirect spam name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-03-2013 , 21:59   redirect spam name
Reply With Quote #1

I saw many topics about get_user_name and if(equal if(contain
this code redirects all players instead of certain

PHP Code:
if(contain(Name"[war3ft.ru]") || contain(Name"[No-MyAC]") || contain(Name"www") || equal(Name"Player")) 
        
client_cmd(iPlayer,"Connect bla bla"
it should redirect only players with mentioned names
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-04-2013 , 00:43   Re: redirect spam name
Reply With Quote #2

You are using contains() wrong. Look at other plugins that use it.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode