Bilbo! Bilbo! Bilbo Baggins;
He's only three feet tall.
Bilbo! Bilbo! Bilbo Baggins;
The bravest little hobbit of them all.
The following code is based on a macro I made, with very similar purpose. It has *.ini support. If you want to only display the group message, use
/macro pull group
For raid only pull message, use
/macro pull raid
Otherwise, use
/macro pull both
To display both raid and group messages. Also, be sure to change the val keys in your ini file if you add or remove any messages. It should be the number of messages - 1.
Pull.mac:
Code: Select all
| pull.mac
| Usage: /macro pull [group/raid/both]
| The macro will default to displaying a group pull, if no switches are present.
Sub Main
/if @Param0=="raid" {
/gsay $ini(pull.ini,Raid,$rand($int($ini(pull.ini,Raid,val))))
} else /if @Param0=="both" {
/rsay $ini(pull.ini,Group,$rand($int($ini(pull.ini,Group,val))))
/gsay $ini(pull.ini,Raid,$rand($int($ini(pull.ini,Raid,val))))
} else {
/rsay $ini(pull.ini,Group,$rand($int($ini(pull.ini,Group,val))))
}
/return
Pull.ini:
Code: Select all
[Group]
val=3
0=This %t was brought to you by the letters A, Z, and the number 7!
1=A lawyer, a doctor, and a %t walked into a bar...
2=When all you have is a hammer, this %t starts to look like a nail.
3=If you're happy and you know it, help me beat the face offa this %t!
[Raid]
val=0
0=%t incoming to raid, get ready!
Something like
/macro pull both
in a hotkey should do what you specified.
Enjoy!