If you are running one of the latest 40d# versions you can open up the interface.txt file and put this at the end of it:
[BIND:MACRO0:Throw] *If you already have some macros defined just set the number to be after your last defined macro
[MACRO:A_GROUND:1]
[MACRO:A_OPTION1:1]
[MACRO:A_THROW:1]
[MACRO:A_OPTION6:1]
[BIND:MACRO1:Train Throwing]
[SYM:Alt+1] *This is the keybinding that will be used for the macro, feel free to set this to whatever you prefer. You can also change this through the macro interface in the game fairly easily.
[MACRO:MACRO0:100] *This is just calling the Throw macro above 100 times. If you changed the macro number for Throw to something other than MACRO0 make sure you change it here too.
The stuff marked in
*blue is just my own comments, I don't think including them will hurt anything.
I've found that editing the file tends to be faster than defining the macro in-game. Additionally you can name the macro's in the file. (These names will show up in place of the Macro# in the macro list making it much more user friendly.)
I don't bother to bind a key to the Throw macro since I just use that inside the Train Throwing macro. If you really wanted, you could just bind the Throw macro to a key and mash that with your nose till it bleeds. Don't recommend that though, blood is hard to get out of a keyboard.
Edit: Additionally, you might also want to set the [MACRO_MS:150] config in the init.txt to something a bit lower. I keep mine at [MACRO_MS:10]. Otherwise you may want to go make lunch while the above Train Throwing macro is running.
Also, ESC is the default key for breaking out of a macro loop. Handy, if something hungry happens to wander up while you are throwing rocks at your feet. (Though you really shouldn't be doing this in the middle of that wolf pack.)