A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
kagonis
- a hill giant

- Posts: 228
- Joined: Sat May 24, 2003 8:48 pm
Post
by kagonis » Wed Oct 15, 2003 1:47 pm
Regular EQ hotbuttons is limited to 5 consents, but when you need to consent more than that, this macro will become your best friend.
Code: Select all
Sub Main
/if "$defined(Param0)"=="FALSE" {
/echo Syntax: /macro consent <Player01> [Player02]...
/endmacro
}
/declare l0 local
/varset l0 0
:Loop
/if n @l0>0 /delay 25
/consent @Param$int(@l0)
/varadd l0 1
/if "$defined(Param$int(@l0))"=="TRUE" /goto :Loop
/return
-
GD
- a snow griffon

- Posts: 353
- Joined: Sat Jun 29, 2002 11:57 pm
Post
by GD » Wed Oct 15, 2003 8:21 pm
You know there is a command called /consent Raid, which gives the entire raid permission?
Opinions are like assholes, everyone has one, but most of them stink.
-
wassup
- Official Guardian and Writer of TFM

- Posts: 1487
- Joined: Sat Oct 26, 2002 5:15 pm
Post
by wassup » Wed Oct 15, 2003 9:39 pm
Is GD joking?
That sounds a bit flaky to me...
-
Rassilon
- a lesser mummy

- Posts: 73
- Joined: Thu Sep 04, 2003 6:34 pm
Post
by Rassilon » Wed Oct 15, 2003 10:20 pm
I tried it and it said it consented but none of my toons that are guilded got a msg.
Thanks,
Rass
-
eqtrader
- decaying skeleton

- Posts: 2
- Joined: Fri Oct 17, 2003 12:17 pm
Post
by eqtrader » Fri Oct 17, 2003 12:23 pm
what about this to consent everyone in a gruop as well
Code: Select all
Sub Main
/if "$defined(Param0)"=="FALSE" {
/echo Syntax: /macro consent <Player01> [Player02]...
/endmacro keep keys
}
/if "@Param0"=="Group" {
/Call ConsentGroup
/endmacro keep keys
}
/declare l0 local
/varset l0 0
:Loop
/if n @l0>0 /delay 25
/consent @Param$int(@l0)
/varadd l0 1
/if "$defined(Param$int(@l0))"=="TRUE" /goto :Loop
/return
Sub ConsentGroup
/declare GroupMember local
/for GroupMember 0 to $group(count)-1
/consent $spawn($group(@GroupMember),name)
/next
/return
-
kagonis
- a hill giant

- Posts: 228
- Joined: Sat May 24, 2003 8:48 pm
Post
by kagonis » Sun Oct 19, 2003 12:35 pm
Good idea eqtrader :)
-
in_training
- Craptastic
- Posts: 115
- Joined: Fri Oct 10, 2003 8:25 am
Post
by in_training » Sun Oct 19, 2003 4:55 pm
Can we make this read in from an .ini file? Like one line at a time in a loop UNTIL EOF?
-
Nanan
- orc pawn

- Posts: 29
- Joined: Wed Jun 25, 2003 6:21 pm
Post
by Nanan » Sun Oct 19, 2003 9:01 pm
Actually I am working on an ini consent mac now. The only hang up atm is trying to figure out how to do appending to the ini.
If you do know how to do appends to ini file lists then please post it in the help section as a reply to a post by confused.
-
kagonis
- a hill giant

- Posts: 228
- Joined: Sat May 24, 2003 8:48 pm
Post
by kagonis » Wed Oct 22, 2003 5:47 am
You can try and take a look at how I made the link.mac, that one basically just keeps appending to the ini file.
-
mcswanbeck
- a lesser mummy

- Posts: 70
- Joined: Fri Jan 16, 2004 5:16 am
Post
by mcswanbeck » Fri Mar 19, 2004 7:02 am
Is it possible to make it so you consent all rogues in your guild, instead of having to specify who you consent?
-
eqaussie
- a ghoul

- Posts: 124
- Joined: Tue Mar 16, 2004 5:58 am
Post
by eqaussie » Fri Mar 19, 2004 7:51 am
I'd like to see something that would check the raid you were in, and consent any rogues in the raid as an option too
/macro consent raidrogues
hehe