Dummy-proof instructions
1.) Click "Start"
2.) Click "Run"
3.) Type: notepad
4.) Click "OK"
[notepad opens]
5.) Paste the macro code into notepad.
6.) Click File->Save As
[Save Dialog Opens]
7.) Navigate to your Macroquest2\Macros folder.
8.) Select file type: "All Files *.*"
9.) Enter filename: loot.mac
Now, Target the corpse and type: /mac loot
You can also setup a hotkey for "/mac loot". That'd probably be a lot more convenient than typing it every time you want to use it.