Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: [1]   Go Down
  Print  
Author Topic: hey :P  (Read 497 times) Bookmark and Share
Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 7
Offline Offline
« on: July 11, 2010, 05:18:27 AM »

i am wondering if is there any plugin that warns players who have less than 3 letters in name :S
Logged

Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 7
Offline Offline
« Reply #1 on: July 11, 2010, 05:19:02 AM »

for Urban terror Tongue
Logged
Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 7
Offline Offline
« Reply #2 on: July 12, 2010, 07:29:04 AM »

can anyone Code one :S please i really need a plugin like that Tongue
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: July 14, 2010, 12:31:40 AM »

Install the latest version of poweradminurt and open poweradminurt.py.

Search for this line (around line number 1594):
Code: python
if (self._checkdupes and len(cidlist) > 1) or (self._checkunknown and (pname == 'New UrT Player')) or (self._checkbadnames and (pname == 'all')):

and replace it with:
Code: python
if (self._checkdupes and len(cidlist) > 1) or (self._checkunknown and (pname == 'New UrT Player')) or (self._checkbadnames and (pname == 'all')) or (len(pname) <= 3):

Make sure you leave the whitespace indentation in tact or it will error .
Logged

Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 7
Offline Offline
« Reply #4 on: July 19, 2010, 08:49:53 AM »

ty Smiley
Logged
Full Member
***
Posts: 60
Offline Offline
« Reply #5 on: July 19, 2010, 09:32:13 AM »

Install the latest version of poweradminurt and open poweradminurt.py.

Search for this line (around line number 1594):
Code: python
if (self._checkdupes and len(cidlist) > 1) or (self._checkunknown and (pname == 'New UrT Player')) or (self._checkbadnames and (pname == 'all')):

and replace it with:
Code: python
if (self._checkdupes and len(cidlist) > 1) or (self._checkunknown and (pname == 'New UrT Player')) or (self._checkbadnames and (pname == 'all')) or (len(pname) <= 3):

Make sure you leave the whitespace indentation in tact or it will error .

Hi, after i've done that the bot stopped responding to the commands...

Please dont take this post in mind... i think the problem is from somewhere else...
ill investigate more and leave some news... Cheesy
« Last Edit: July 19, 2010, 10:40:05 AM by Maks » Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal