Raised This Month: $51 Target: $400
 12% 

Regular Custom Configs


Post New Thread Reply   
 
Thread Tools Display Modes
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 04-08-2005 , 16:20  
Reply With Quote #11

Awesome job Johhny, that should take care of my enormous addons/amxmodx/configs/maps folder, now if you could only do this you would be God himself:

http://forums.alliedmods.net/showthread.php?t=1593

__________________
Dr_Knuckles is offline
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 04-08-2005 , 19:50  
Reply With Quote #12

Is there any way to make it not case sensitive? I change map to fy_iceworld and Some time type it like fY_iceworld the configs don't exec..
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 04-09-2005 , 05:37  
Reply With Quote #13

You find the syntax of PCRE here: http://www.perldoc.com/perl5.8.0/pod/perlre.html

It looks like you should add (?i) at the front of the pattern to activate case insensitivity.

Quote:
amx_regex "ice" icE
[Regular Custom Configs] Matching "icE" with pattern "ice"...
[Regular Custom Configs] No match.

amx_regex "(?i)ice" icE
[Regular Custom Configs] Matching "icE" with pattern "(?i)ice"...
[Regular Custom Configs] Match! Result handle: 1 (automatically freed)
Good information there, so it seems it is case sensitive as default...
Johnny got his gun is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 12-14-2005 , 09:42  
Reply With Quote #14

Author PM me to have this plugin approved (or you can approve it )
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
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 07:42.


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