Raised This Month: $ Target: $400
 0% 

[Problem] Anti-Spam Lite (Edited version) BUG


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 05-09-2015 , 17:01   Re: [Problem] Anti-Spam Lite (Edited version) BUG
Reply With Quote #1

Man , i see that the regex in useless here because its check numbers & point & If there is 3 num in the last address of the ip . Anyway my point is if its checking the ip like this it should match at least it should detect space in IP etc .. Why doing it like this if you can do something like this

Ps : im right now phone but i will do my best

add stock bool for _IpCheck[] ( as string )

for (new i = 0; _IpCheck[i]; i++)
if (’0’ <= _IpCheck[i] <= ’9')

Or just loop { 9 , 8 , ... } and do contains ( its like a countdown ( 9 8 7 .. 0 ) it will check all num

And retrun it true and then return the final statement ( return false )

And add a check if ~contains( bitwise . Flip num ) string with "." .


Anyway for your problem regex will be the better way if i remember as well . I have done it before in a 8 ( len ) with regex of course just check the digit \d all add a + and check the space \s and so one . So just search for regular expressions and create yours . And then try to match result in a online regex compiler .
then just hook say & say_team and check if ( _IpCheck(argHERE) ) and then the same think in Infochanged event . Hope i help you ( im really aorry if i didnt make it clear for you , as i said im phone ) ... Any Q just post .
Freezo Begin 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:05.


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