Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help with a script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
ShawnT78
How do I cheat?
Reputation: 0

Joined: 14 Jul 2011
Posts: 2

PostPosted: Thu Jul 14, 2011 1:20 am    Post subject: Help with a script Reply with quote

Hello I'm new at scripting and was wondering is someone could point me into the direct of making this noobish script automatic its a 2D games any pointers would be appreciated...


HotKeySet("{F1}", "Terminate")

HotKeySet("{HOME}", "mineup")
HotKeySet("{PGDN}", "mineright")
HotKeySet("{END}", "minedown")
HotKeySet("{DEL}", "mineleft")
HotKeySet("{INSERT}", "mine")
HotKeySet("{F2}", "depo")
HotKeySet("{F7}", "progcheck")

While 1
Sleep(100)
WEnd

Func Terminate()
Exit 0
EndFunc

Func mineup()
Send("{UP}{UP}", 0)
Sleep(30)
Send("{D}{a}{<}", 0)
EndFunc

Func mineright()
Send("{RIGHT}{RIGHT}", 0)
Sleep(30)
Send("{D}{a}{<}", 0)
EndFunc

Func minedown()
Send("{DOWN}{DOWN}", 0)
Sleep(30)
Send("{D}{a}{<}", 0)
EndFunc

Func mineleft()
Send("{LEFT}{LEFT}", 0)
Sleep(30)
Send("{D}{a}{<}", 0)
EndFunc

Func mine()
Send("{d}{b}{<}", 0)
Sleep(30)
Send("{d}{a}{<}", 0)
EndFunc

Func depo()
Send("{'}I will deposit all Ore [poor]{Enter}", 0)
Sleep(1000)
Send("{'}I will deposit all Ore [med]{Enter}", 0)
Sleep(1000)
Send("{'}I will deposit all Ore [high]{Enter}", 0)
Sleep(1000)
Send("{'}I will deposit all Ore [very high]{Enter}", 0)
EndFunc

Func progcheck()
Send("{'}How many Ore [poor] have I deposited?{Enter}", 0)
Sleep(1000)
Send("{'}How many Ore [med] have I deposited?{Enter}", 0)
Sleep(1000)
Send("{'}How many Ore [high] have I deposited?{Enter}", 0)
Sleep(1000)
Send("{'}How many Ore [very high] have I deposited?{Enter}", 0)
EndFunc
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites