on *:SOCKREAD:ip-tracker: {
if ($sockerr > 0) return
sockread %ip-tracker
if ($regex(%ip-tracker,/
Hello, yes my code is an example not to make 5 times the same regex
I understand the second reason but I do not agree with your first right.
" I need them in another script "
You post for other users not for you it is advisable to clean up after your script and not to variables that can not be used.
This is just my opinion good continuation
Sorry nox` , I don't understand your comment.
As far as I see, you propose a shortened version of the code. If so I have 2 motivations for doing it in that way:
1 - I use variables because I need them in another script running in parallel
2 - I like a cleaner coding that, for me, is easier to mantain
Last but not least, I'm a novice in scripting and I know well my limitations.
Anyway thank a lot for your interest
Regards