回味经典 致敬龙族 铁匠挂机脚本

仿佛又回到了高中时代,写了个铁匠的挂机脚本,按键精灵1.4

UserVar iDelay=200 "常规延时"

Delay 100
KeyPress "Esc", 1
Delay iDelay
KeyPress "Enter", 1
Delay iDelay
KeyPress "/", 1
KeyPress "B", 1
KeyPress "O", 1
KeyPress "S", 1
KeyPress "S", 1
KeyPress "Enter", 1
Delay 1500

//buy
KeyDown "Shift", 1
MoveTo 855, 315
Delay iDelay
LeftClick 1

Delay iDelay

//choose 石英块
MoveTo 888, 265
Delay iDelay
LeftClick 1
Delay iDelay
//enter
MoveTo 785, 455
Delay iDelay
For 10
LeftClick 1
Delay 100
Next

Delay iDelay

//enter 铜块
MoveTo 925, 230
Delay iDelay
LeftClick 1
Delay iDelay
//enter
MoveTo 785, 455
Delay iDelay
For 10
LeftClick 1
Delay 100
Next
//
MoveTo 1060, 395
Delay iDelay
LeftClick 1
Delay iDelay
//chanel
MoveTo 945, 455
Delay iDelay
LeftClick 1
Delay iDelay
//quit
MoveTo 888, 445
Delay iDelay
LeftClick 1
Delay 500
// /
KeyPress "/", 1
Delay iDelay
KeyPress "/", 1
Delay iDelay
//choose
MoveTo 880, 310
Delay iDelay
LeftClick 1
Delay iDelay
//max
MoveTo 960, 540
Delay iDelay
LeftClick 1
Delay iDelay
LeftClick 1
Delay iDelay
//enter
MoveTo 884, 527
Delay iDelay
LeftClick 1
Delay 6000
KeyUp "Shift", 1