in reply to Need more help with aimbot =)
Two observations. One, your regex can be simplified. Try if ($msg =~ /so?r?ry) to replace that whole || business.
Two, why write the string of "some value ++ 1"? Your file contents will be something like "1 ++ 1", which I don't think is what you're looking for... but I could be misinterpreting your designs...
And one question. What's the problem?
Edit: Note that I'm not sure if this is a continuing question -- from the other replies it seems like it is. And the regex I posted here may have unintended side effects, like matching "sory" as well as the first three options (so my regex could probably use some work, too. ;) )
|
|---|