The Wiki for Tale 4 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:DG/Macro"
From A Tale in the Desert
< User:DG
Jump to navigationJump to search (New page: My macro's) |
|||
Line 1: | Line 1: | ||
My macro's | My macro's | ||
+ | |||
+ | Clay | ||
+ | ---- | ||
+ | <Pre> | ||
+ | Constants | ||
+ | MouseX = 840 | ||
+ | MouseY = 525 | ||
+ | End | ||
+ | |||
+ | Loop 999999999 | ||
+ | Delay 50 | ||
+ | GetRed 235, 104 = 197 | ||
+ | GetGreen 235, 104 = 103 | ||
+ | GetBlue 235, 104 = 79 | ||
+ | SetConst MouseX = {MouseX} | ||
+ | SetConst MouseY = {MouseY} | ||
+ | MousePos 235, 104 | ||
+ | LeftClick | ||
+ | MousePos $MouseX, $MouseY | ||
+ | Delay 200 | ||
+ | Else | ||
+ | End | ||
+ | Else | ||
+ | End | ||
+ | Else | ||
+ | End | ||
+ | End | ||
+ | |||
+ | Stop | ||
+ | |||
+ | </Pre> | ||
+ | ---- |
Revision as of 01:55, 13 September 2009
My macro's
Clay
Constants MouseX = 840 MouseY = 525 End Loop 999999999 Delay 50 GetRed 235, 104 = 197 GetGreen 235, 104 = 103 GetBlue 235, 104 = 79 SetConst MouseX = {MouseX} SetConst MouseY = {MouseY} MousePos 235, 104 LeftClick MousePos $MouseX, $MouseY Delay 200 Else End Else End Else End End Stop