![]() |
| |||||||
| Home | GzP Upload | GzP Arcade | Register | vbBux / vbPlaza | All Albums | FAQ | Donate | Members List | Calendar | Mark Forums Read |
| Gunz Hacks/Bots Discussion Gunz Hacks/Bots Discussion only. No begging. |
![]() |
| | Thread Tools | Display Modes |
| | #1 |
| Registered User | Hey people , I am bored...so i'm going to make a simple 'how to make a simple macro' tutorial. Anyone can learn this cause its pretty simple. First you will need to download ACTool which i will post a link at the bottom with all the other DownLoads. SO. Lets get started! 1. Making are macro say 'Macro Test' Once you have ACTool opened. Open a new file. And either copy and paste or look and type this in to the program. ___________________________________ // Testing a Macro! SetActiveWindow Untitled - Notepad While 1=1 If {GlobalKeys} contains 040 ClearGlobalKeys Keys ~T Keys e Keys s Keys t Keys {SPACE} Keys ~M Keys a Keys c Keys r Keys o Keys ~1 Keys {RETURN} End if End _______________________________________ *NOTE* Leave the underscores OUT (There just there to seperate the code.) Now, open up a NEW Notepad page. Click start in the bottom right hand corner and NotePad should pop up in front if it is started already. Press the down arrow key! And you will see this Test Macro! Press it more! And you will see this (faster) Test Macro! Test Macro! Test Macro! etc etc etc. Congratulations you just used a macro. Now i will teach you what to do to make your own macro's! (Maybe for gunz, if you wanna spam runescape, i dont care) 2. Understanding what the crap is there. "// Testing a Macro!" - the // and then text after that meens that is a Comment not apart of the 'code' at all. You can have as many of those as your heart desires (Maybe to tell t=BF and so on. "SetActiveWindow Untitled - Notepad" - SetActiveWindow meens what window the software will open when you press start. So if you have Gunz.exe it will open gunz. I just did Notepad becuase its easiest to show how the macro works. "While 1=1" (I myself dont really know) SORRY. I know it HAS to be there though. (Dont FLAME me :[) "If {GlobalKeys} contains 040" - That states what is the hotkey. i will give you a list of the global keys (Downloads) so you will have them. So say it was..."If {GlobalKeys} contains 089" the hotkey will be Y because that is the globalkey for y. "ClearGlobalKeys" - Clears it so your macro wont go off randomly thinking that your always pressing the global key. "Keys ~T Keys e Keys s Keys t Keys {SPACE} Keys ~M Keys a Keys c Keys r Keys o Keys ~1 Keys {RETURN}" - Now here is were the whole program comes down. 'Keys' just means pressing the key down. and the ~ means hold shift for that key (So you can capitalize and do symbols) Whenever doing functions such as space and enter (return) it needs to be types {SPACE} like that. YOu can see all the functions that need to be typed like that through the program itself. "End if End" - Ends the macro of course. Now that you know the BASIC keys and so forth i will show you code for a simple DBF macro i made. This is a little more complex because you need to bring DELAY into the picture delay is just the amount of time before the next key is pressed. ___________________________________________ if {globalkeys} contains 088 clearglobalkeys delay 15 keydown {space} 10 Delay 5 Leftmousedown Delay 25 Leftmouseup Delay 25 Keydown {HOME} 38 Delay 80 Keys w Delay 5 Keys w Delay 80 Leftmousedown Delay 55 Leftmouseup Delay 25 Keydown {HOME} 38 __________________________________________ *NOTE* Of course i had block set to HOME key. Oh and when dealing with the mouse you need to state leftmouseup after leftmousedown. THANK ME IF YOU LIKE IT! [Only registered and activated users can see links. ] Last edited by -A-7-X-; 09-02-2008 at 02:41 AM.. |
| | |
| The Following 2 Users Say Thank You to -A-7-X- For This Useful Post: | page341 (11-23-2008), tom_shenep (11-23-2008) |
| Sponsored Links |
| |
| | #3 |
| Registered User | |
| | |
| | #5 |
| Registered User | |
| | |
![]() |
| Bookmarks |
| Tags |
| create, edit, gunz, macro |
| Thread Tools | |
| Display Modes | |
| |