SAMP ahk

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
skeelz

SAMP ahk

25 May 2018, 02:47

Hello, I'm new to AHK. I used ahk for keybinds and it is actually helpful and great so i want to learn more about. I searched up to google how to use various things for SAMP and I use it at the same time.My question is how do i make ahk response to chatlog.txt

I want to check how many items i sold and how much is my profit.

[21:10:20] Sold 3 x Life Insurance To Smashmouth (99) For $210000.
[21:10:23] Sold Body Armor To Smashmouth (99) For $2500.

These are my chatlog. if i press F4. it will show how many armors I sold, is that possible?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: SAMP ahk

25 May 2018, 03:23

These logs are presumably written out to disk somewhere. Load them in ahk(fileread, fileopen, might have to clone the file first), do some parsing with a regex

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 330 guests