Raised This Month: $ Target: $400
 0% 

problem with a plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
tede7
New Member
Join Date: Jan 2009
Old 01-14-2009 , 13:19   Re: problem with a plugin
Reply With Quote #6

it works ;D thanks guys
only last question: is it posible to make a regular expression?? I've read about regex_amxx module, but it gives only 3 functions and in need something like:
Code:
//PERL code:
if (username =~ s/(\[|\{|<)[A-Za-z0-9!@#$%^&*()](\]|\}|>)/){...
I tried this code, coz i thought it would work with regex module but it wasn't even compiled. ;/
(compilation errors: )
Code:
/home/groups/amxmodx/tmp3/textce83a5.sma(38) : warning 211: possibly unintended assignment
/home/groups/amxmodx/tmp3/textce83a5.sma(38) : error 046: unknown array size (variable "username")
/home/groups/amxmodx/tmp3/textce83a5.sma(38) : error 017: undefined symbol "s"
/home/groups/amxmodx/tmp3/textce83a5.sma(38) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/textce83a5.sma(38) : fatal error 107: too many error messages on one line
It would make this plugin more dynamic. ;D
tede7 is offline
 



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 01:39.


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