Search found 12 matches
- 13 Sep 2019, 07:03
- Forum: Gaming Help (v1)
- Topic: Help about RegExMatch SAMP Auto type
- Replies: 1
- Views: 1203
Re: Help about RegExMatch SAMP Auto type
https www48.zippyshare.com /v/FqJq6DIX/file.html download this UDF for this script to work put this put both in one folder and install AUTOHOTKEY ANSI #IfWinActive GTA: SA: MP #NoEnv #include SAMP.ahk #SingleInstance, force #UseHook SetTimer, Update, 50 ChatLog = %A_MyDocuments%\GTA San Andreas User...
- 03 Sep 2019, 08:01
- Forum: Gaming Help (v1)
- Topic: Pixel search ingame Topic is solved
- Replies: 2
- Views: 4969
Pixel search ingame Topic is solved
So this script needs to find green pixel in my game and if it finds in right side it clicks right arrow if it finds in left it clicks left arrow and etc. it reacts to chat color its green too but i put coordinates on pixels so why it looks at my chat #NoEnv #SingleInstance, Force SetTitleMatchMode, ...
- 10 Oct 2018, 07:36
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
secondToLast := "[20:31:01] [SMS] [Mantuxx_Downhiller {00FF00}[P] {E3B924}(67) >> Rusteze_Dinoco]:" last := "[20:31:01] heal" if (InStr(last, "heal") && RegExMatch(secondToLast, "(?<= \[SMS\] \[).*\((\d+)\) >>", M)) { playerID := M1 MsgBox % "t/heal " playerID "{Enter}" } else msgbox something went...
- 09 Oct 2018, 13:48
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
https://autohotkey.com/docs/misc/RegEx-QuickRef.htm The escape sequence \K is similar to a look-behind assertion because it causes any previously-matched characters to be omitted from the final matched string. For example, foo\Kbar matches "foobar" but reports that it has matched "bar". [20:31:01] ...
- 09 Oct 2018, 12:53
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
what does "{\K[^}]+" mean?:P sorry if its sounds dumb to you:Dswagfag wrote:look, i dont play samp, this is all gibberish to me
craft a regexp to match the ID. eg. assuming its a number enclosed in braces:Code: Select all
RegExMatch("wasd {1234} asdf", "{\K[^}]+", match) msgbox % match
- 09 Oct 2018, 12:07
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
swagfag wrote:idk, i have no idea what ur chatlog.txt looks like
- 09 Oct 2018, 11:55
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
no, its unlikely it would work without making some modifications. in the thread the guy need to have the last line of the chatlog checked whether it contained "heal", and the previous line ran through a regexp to extract the "playerID" so, besides the chatlog path, ud have to change at least those ...
- 08 Oct 2018, 06:54
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
no, its unlikely it would work without making some modifications. in the thread the guy need to have the last line of the chatlog checked whether it contained "heal", and the previous line ran through a regexp to extract the "playerID" so, besides the chatlog path, ud have to change at least those ...
- 07 Oct 2018, 10:36
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
some guy asked for something similar a couple of days ago: https://autohotkey.com/boards/viewtopic.php?f=18&t=56522&hilit=samp but they seem to have decided to overwrite the posts lol. what a drag... dat code doesn't work;/ what you mean by not work? like someone writes to me "heal" and Send % "t/h...
- 07 Oct 2018, 09:52
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
dat code doesn't work;/swagfag wrote:some guy asked for something similar a couple of days ago: https://autohotkey.com/boards/viewtopic ... hilit=samp
but they seem to have decided to overwrite the posts lol. what a drag...
- 07 Oct 2018, 07:18
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Re: Help with samp heal
-Like /sms Warklot heal and i get message "heal"
-in the Documents>gta san andreas user files> samp > chatlog
-in the Documents>gta san andreas user files> samp > chatlog
- 07 Oct 2018, 04:49
- Forum: Gaming Help (v1)
- Topic: Help with samp heal
- Replies: 18
- Views: 3346
Help with samp heal
Hello, i basically need a code that would work in game. The code must do this: When a player sends me a message with a keyword "Heal" or [ID] the code must type out "/heal (The name of the person who's sending me a message or ID)" just for the record the game is GTA San Andreas, I need this for SA-M...