I am pretty much completely new to programming in general (besides editing game files which isn't really programming). Anyways I just wanted to share my first super basic script I wrote for an idle game. It basically just clicks away and then it moves to another loop that levels up then back to the original clicking loop.
I know it is super basic but I really dig how easy it was to write.
;midas idle hotkey
;main script
z::
Pause
loop,
;cursor and ability loop
{
loop, 100
{
send {LButton}
sleep 2
send {2}
sleep 2
send {4}
sleep 2
}
;buy items loop
loop,1
{
;buy item 1
mousemove, 633, 236
send {LButton}
sleep 10
;buy item 2
mousemove, 1005, 257
send {LButton}
sleep 10
;buy item 3
mousemove, 1398, 253
send {LButton}
sleep 10
;buy item 4
mousemove, 665, 403
send {LButton}
sleep 10
;buy item 6
mousemove, 1092, 379
send {LButton}
sleep 10
;buy item 6
mousemove, 1461, 384
send {LButton}
sleep 10
;buy item 7
mousemove, 661, 522
send {LButton}
sleep 10
;buy item 8
mousemove, 963, 541
send {LButton}
sleep 10
;buy item 9
mousemove, 1372, 525
send {LButton}
sleep 10
;send cursor back to clicking loop
mousemove, 1057, 799
}
}
- Home Board index AutoHotkey (v1.1 and older) Scripts and Functions (v1) Gaming Scripts (v1)
- Search
-
- It is currently 18 Apr 2024, 19:55
- All times are UTC-05:00
Clicker Script for Midas Gold Fullscreen
Post gaming related scripts
Return to “Gaming Scripts (v1)”
Jump to
- AutoHotkey Foundation
- About This Community
- Forum Issues
- AutoHotkey (v2, current version)
- Ask for Help (v2)
- Gaming
- Scripts and Functions (v2)
- Gaming
- Tutorials (v2)
- Tips and Tricks
- Wish List
- Suggestions on Documentation Improvements
- Bug Reports
- AutoHotkey Development
- AutoHotkey_H
- Ask for Help
- Development
- Editors
- Adventure IDE
- Old Topics
- AHK Studio
- Notepad++
- Pulovers Macro Creator
- SciTE4AutoHotkey
- Visual Studio Code
- Announcements
- General Discussion
- AutoHotkey (v1.1 and older)
- Ask for Help (v1)
- Gaming Help (v1)
- Scripts and Functions (v1)
- Gaming Scripts (v1)
- Tutorials (v1)
- Tips and Tricks (v1)
- General
- Other Utilities & Resources
- Other Programming Languages
- C/C++
- ASM
- C#
- KeySharp
- Off-topic Discussion
- RPA
- Other languages
- Looking for Volunteers in other languages
- Deutsch (German)
- Ich brauche Hilfe
- Spiele
- Skripte und Funktionen
- Tutorials
- Tooltime
- Allgemeines
- 中文 (Chinese)
- 请求帮助
- 脚本函数
- 教程资料
- 相关工具
- 其他
- Español (Spanish)
- Pedir Ayuda
- Automatización de Juegos
- Scripts y Funciones
- Tutoriales
- Otras Utilidades y Recursos
- General
- Русский (Russian)
- Помощь
- Скрипты для Игр
- Скрипты и библиотеки
- Статьи и руководства
- Прочие ресурсы и ПО.
- Свободное общение
- Français (French)
- J'ai besoin d'aide
- Scripts et Fonctions
- Tutoriels
- Autres Utilitaires et Ressources
- Hors Sujet
- Português (Portuguese)
- Ajuda e Suporte Geral
- Scripts e Funções
- Tutoriais
- Outras Ferramentas e Recursos
- Outros Assuntos
- 한국어 (Korean)
Who is online
Users browsing this forum: No registered users and 52 guests