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 .