The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "User:Mayanah/ATITD-grass Square.mac"
m (Created page with "//1600x900 //Hit start! // Insert script commands here Constants GrassButtonX = 1501 GrassButtonY = 81 End Set GrassButtonX = {MouseX} Set GrassButtonY = {MouseY} Procedur...") |
m |
||
Line 1: | Line 1: | ||
//1600x900 | //1600x900 | ||
+ | |||
//Hit start! | //Hit start! | ||
Line 5: | Line 6: | ||
Constants | Constants | ||
+ | |||
GrassButtonX = 1501 | GrassButtonX = 1501 | ||
+ | |||
GrassButtonY = 81 | GrassButtonY = 81 | ||
+ | |||
End | End | ||
+ | |||
Set GrassButtonX = {MouseX} | Set GrassButtonX = {MouseX} | ||
+ | |||
Set GrassButtonY = {MouseY} | Set GrassButtonY = {MouseY} | ||
+ | |||
Procedure PickGrass | Procedure PickGrass | ||
+ | |||
// Pick Grass Button | // Pick Grass Button | ||
+ | |||
MousePos $GrassButtonX, $GrassButtonY | MousePos $GrassButtonX, $GrassButtonY | ||
+ | |||
LeftClick | LeftClick | ||
+ | |||
Delay 5000 | Delay 5000 | ||
+ | |||
End | End | ||
+ | |||
Procedure MoveRight | Procedure MoveRight | ||
+ | |||
KeyDown {RIGHT} 150 | KeyDown {RIGHT} 150 | ||
+ | |||
Delay 1000 | Delay 1000 | ||
+ | |||
End | End | ||
+ | |||
Procedure MoveDown | Procedure MoveDown | ||
+ | |||
KeyDown {DOWN} 150 | KeyDown {DOWN} 150 | ||
+ | |||
Delay 1000 | Delay 1000 | ||
+ | |||
End | End | ||
+ | |||
Procedure MoveLeft | Procedure MoveLeft | ||
+ | |||
KeyDown {LEFT} 150 | KeyDown {LEFT} 150 | ||
+ | |||
Delay 1000 | Delay 1000 | ||
+ | |||
End | End | ||
+ | |||
Procedure MoveUp | Procedure MoveUp | ||
+ | |||
KeyDown {UP} 150 | KeyDown {UP} 150 | ||
+ | |||
Delay 1000 | Delay 1000 | ||
+ | |||
End | End | ||
+ | |||
+ | |||
Delay 1000 | Delay 1000 | ||
+ | |||
MousePos 125, 10 | MousePos 125, 10 | ||
+ | |||
LeftClick | LeftClick | ||
+ | |||
Delay 2000 | Delay 2000 | ||
+ | |||
Loop 200 | Loop 200 | ||
+ | |||
Call PickGrass | Call PickGrass | ||
+ | |||
Call MoveRight | Call MoveRight | ||
+ | |||
Call PickGrass | Call PickGrass | ||
+ | |||
Call MoveDown | Call MoveDown | ||
+ | |||
Call PickGrass | Call PickGrass | ||
+ | |||
Call MoveLeft | Call MoveLeft | ||
+ | |||
Call PickGrass | Call PickGrass | ||
+ | |||
Call MoveUp | Call MoveUp | ||
+ | |||
End | End |
Latest revision as of 19:09, 23 August 2010
//1600x900
//Hit start!
// Insert script commands here
Constants
GrassButtonX = 1501
GrassButtonY = 81
End
Set GrassButtonX = {MouseX}
Set GrassButtonY = {MouseY}
Procedure PickGrass
// Pick Grass Button
MousePos $GrassButtonX, $GrassButtonY
LeftClick
Delay 5000
End
Procedure MoveRight
KeyDown {RIGHT} 150
Delay 1000
End
Procedure MoveDown
KeyDown {DOWN} 150
Delay 1000
End
Procedure MoveLeft
KeyDown {LEFT} 150
Delay 1000
End
Procedure MoveUp
KeyDown {UP} 150
Delay 1000
End
Delay 1000
MousePos 125, 10
LeftClick
Delay 2000
Loop 200
Call PickGrass
Call MoveRight
Call PickGrass
Call MoveDown
Call PickGrass
Call MoveLeft
Call PickGrass
Call MoveUp
End