Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^2::
- t1run:
- shell = %A_AppData%\hackmud\shell.txt
- WaitForShell()
- FileRead, rotatecheck, %shell%
- FoundPos := RegExMatch(rotatecheck, "System breach state reset")
- if ( FoundPos > 0 )
- {
- SendToHM("clear")
- sleep,6000
- SendToHM("unload_l")
- sleep,6000
- PokeZac()
- sleep,25000
- PokeCos()
- sleep,6000
- SendToHM("clear")
- Goto, t1run
- }
- FileRead, logcheck, %shell%
- FoundPos := RegExMatch(logcheck, "l0g_wr1t3r")
- if ( FoundPos > 0 )
- {
- SendToHM("clear")
- sleep,6000
- SendToHM("load_l")
- Goto, t1run
- }
- else
- {
- Goto, t1run
- }
- PokeZac(){
- Hardline()
- start := A_Tickcount
- while (A_TickCount-start <= 105000)
- {
- SendToHM("zac.public_m68sed")
- sleep,4000
- }
- HardlineDC()
- }
- PokeCos(){
- Hardline()
- start := A_Tickcount
- while (A_TickCount-start <= 105000)
- {
- SendToHM("cos.extern_op8no6")
- sleep,4000
- }
- HardlineDC()
- }
- SendToHM(text){
- Clipboard := text
- sleep, 500
- ControlClick, ,hackmud,, RIGHT
- sleep, 500
- SetKeyDelay, 10, 10
- ControlSend, ,{Enter}{Enter}, hackmud
- }
- WaitForShell(){
- global stopstate
- shell = %A_AppData%\hackmud\shell.txt
- FileGetTime, initialtime, %shell%
- newtime := initialtime
- while (newtime == initialtime){
- FileGetTime, newtime, %shell%
- sleep, 1000
- if (stopstate == 1)
- {
- GuiControl,,Status,idle
- Exit
- }
- }
- return
- }
- HardlineDC(){
- sendToHM("kernel.hardline{dc:true}")
- sleep,6000
- }
- Hardline(){
- sendToHM("kernel.hardline")
- sleep, 11000
- SetKeyDelay, 10, 10
- ControlSend, ,012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789, hackmud
- sleep, 13000
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement