Raid/Group Loot Notifyer

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

kirre
orc pawn
orc pawn
Posts: 16
Joined: Wed Dec 17, 2003 1:53 am

Raid/Group Loot Notifyer

Post by kirre » Wed Dec 17, 2003 2:02 am

|**
Loot.mac by kirre (irc://irc.forever-hacking.net #macroquest)
Syntax: /macro Loot.mac
Description: During Raids of Groups with lots of Combat spam Its hard to keep track of who loots what. I made this for a CoM raid on Black Reavers where you have to loot as fast as you can, so we make everyone Leader. This script will make your System Speaker (buil in to | either the fron or back of your computer) BEEP when ever somone Other then you loots somthing (they must be in the raid or group).
Thank you to those who helped me throw together this simple script.
-- Kirre **|

#event Loop "has looted a"
Sub Main
:loop
/delay 1s
/doevents
/delay 1s
/goto :loop
/return

Sub Event_Loop
/beep
/return

|**EOF **|

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Wed Dec 17, 2003 10:29 am

In the future after you post code highlight the entire section of code and press the "Code" button. Helps you view the structure better etc..

Code: Select all

|** 
Loot.mac by kirre (irc://irc.forever-hacking.net #macroquest) 
Syntax: /macro Loot.mac 
Description: During Raids of Groups with lots of Combat spam Its hard to keep track of who loots what. I made this for a CoM raid on Black Reavers where you have to loot as fast as you can, so we make everyone Leader. This script will make your System Speaker (buil in to | either the fron or back of your computer) BEEP when ever somone Other then you loots somthing (they must be in the raid or group). 
Thank you to those who helped me throw together this simple script. 
-- Kirre **| 

#event Loop "has looted a" 
Sub Main 
:loop 
/delay 1s 
/doevents 
/delay 1s 
/goto :loop 
/return 

Sub Event_Loop 
/beep 
/return 

User avatar
Elric
Cheese Whore
Cheese Whore
Posts: 466
Joined: Sun Nov 23, 2003 12:31 am
Location: Tampa, Fl
Contact:

Post by Elric » Wed Dec 17, 2003 12:06 pm

And makes it easier for us to read. :-P
-Elric

mracer
orc pawn
orc pawn
Posts: 20
Joined: Wed Jul 16, 2003 7:25 pm

Post by mracer » Wed Jan 07, 2004 11:28 am

u know what would be cool to add on there is /mqlog command to say who looted what.

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Wed Jan 07, 2004 6:15 pm

The string that triggered the event is sent to the event sub as a parameter.. IIRC the first parameter contains the entire string.

Code: Select all

Sub Event_Loop
/beep
/mqlog "@Param0"
/return

User avatar
wilso132
Contributing Member
Contributing Member
Posts: 106
Joined: Thu Oct 17, 2002 11:53 am

Post by wilso132 » Wed Jan 07, 2004 11:14 pm

Using $instr, $left, and $right you could easily just add the name and the item they looted to mqlog if you wanted.