Notings of Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard
Chatting Places
Discord

Affiliates
Super Mario Bros. X | Kuribo64
Views: 8,952,805
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
03-29-24 06:21 AM
Guest: Register | Login

0 users currently in msg db 'Computer Address',0xa | 3 bots

Main - msg db 'Computer Address',0xa - I Wrote a Shitty Script!
Next newer thread | Next older thread


Trelior
Posted on 08-03-15 07:47 AM Link | ID: 86797
Normal User

Level: 127


Posts: 3870/4986
EXP: 23537811
Next: 188755

Since: 01-02-12

Last post: 1234 days
Last view: 1234 days
This is my first time doing any "real" programming since I got out of school in 2009. It's not fantastic by any stretch, but I'm kinda proud of it.

It's a dumb little script in ahk to assist my auto clicker for a clicker game I'm playing. I'm doing the clicking in an outside program because I attempted to just let the script do it all, but it doesn't see to like to work as quickly.

Anyway, code dump (It's shitty, I'm sorry)
coordmode, mouse, client
MsgBox,, Trel's Clicker, Commands`nNumPad1:Summon Boss`nNumPad2: Activate buffs`nNumPad3: Activate Gold Fountain`nNumPad7: Activate Away Mode`nNumPad8: Deactivate Away Mode`nNumPad9: Exit Script

Away = 0

/*
NumPad0::
mousegetpos, x, y
tooltip, %x% %y%
settimer, removetooltip, 5000
return
*/

NumPad1:: ;Summon Boss
click 1200, 50
return

NumPad2:: ;Activate buffs
click 450, 675, 0
click 650, 675, 0
click 750, 675, 0
return

NumPad3:: ;Activate Gold Fountain
click 550, 675, 0
return

NumPad7::
Away = 1
Gosub Auto

NumPad8::
Away = 0
Gosub Auto

Auto:
If (Away = 1)
{
click 550, 675, 0
Goto Auto
}
else
{
Return
}
Return

Numpad9::
MsgBox,, Trel's Clicker, Script terminated
Sleep 1000
ExitApp
Return

Next newer thread | Next older thread
Main - msg db 'Computer Address',0xa - I Wrote a Shitty Script!


Acmlmboard v2.5.5 (10/04/2020)
© 2005-2024 Acmlm, Emuz, et al.

Page rendered in 0.038 seconds. (750KB of memory used)
MySQL - queries: 50, rows: 481/514, time: 0.034 seconds.