Confirm red text - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html) +--- Forum: Requests (https://forums.bmega.net/forum-17.html) +--- Thread: Confirm red text (/thread-21207.html) |
Confirm red text - Mateo - 09-17-2020 Hello! I need a macro to rewrite the confirmu code which pops up on the server log. The message appears in red. 18:23 (called by Auto) Hello Filip! A system is reported to check whether a given player is at the computer and the action are not programmed by tools such as: macro or bot. To confirm that you are at the computer, enter within 600 seconds: (first in a row)! Confirm 514489, 173189, 239418, 423488, 669049. write !confirm 514489 The numbers are random and we always have to enter a different sequence of numbers,in this case, first in a row. best regards RE: Confirm red text - doxmey - 09-19-2020 (09-17-2020, 07:03 PM)Mateo Wrote: Hello! I found this example withing the website bro maybe you can make the macro yourself from here. Code: Comment(String Regex Pattern Matching) I've tried working with regex but i failed maybe you can attempt to do it, and here is the function. Code: Str.Regex(PatternVariableName, SubjectVariableName) Check SubjectVariable content matches to PatternVariable content regex, outputs to !Str.MatchSucced, !Str.MatchFailed, !Str.Match.0, !Str.Match.1 [..] !Str.Match.9 Also you will be using something like: Code: When.SystemMessage(WhenLabel, MessagePattern) Add a When listener for System kind of messages To detect the message. RE: Confirm red text - Mateo - 09-20-2020 I can't handle it myself |