• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

CmpRaid2Exp.mac (Compare Raid to Expedition)

EvenLessSpam

Active member
Joined
Oct 31, 2005
RedCents
91¢
As per request..
Will check the members of your current expedition up against the members of your current raid, then echo out the members that are in the expedition but not the raid.
<edit>
-
Rewrote macro, or rather added Exp2Raid compare as well, as mentioned by Mochilla ;)
'/mac CmpRaid2Exp e'
Will check who is in Expedition but not Raid.
'/mac CmpRaid2Exp r'
Will check who is in Raid but not Expedition.
-
Finally got it tested and worked out some errors I had overseen.
</edit>

Rich (BB code):
Sub Main(string Cmp)
    /if (!${Defined[Cmp]}) /return
    /if (${Cmp.Left[1].Lower.Equal[e]}) {
        /call Exp2Raid
        /return
    }
    /if (${Cmp.Left[1].Lower.Equal[r]}) {
        /call Raid2Exp
        /return
    }
/return

Sub Exp2Raid
    /declare i  int     local   0
    /echo Current Expedition: ${Window[DynamicZoneWnd].Child[DZ_CurrentDZValue].Text}
    /echo Expedition Leader: ${Window[DynamicZoneWnd].Child[DZ_LeaderValue].Text}
    /echo Expedition Members: ${Window[DynamicZoneWnd].Child[DZ_NumPlayersValue].Text} / ${Window[DynamicZoneWnd].Child[DZ_MaxPlayersValue].Text}
    /echo --
    /echo Raid Leader: ${Raid.Leader}
    /echo Raid Members: ${Raid.Members}
    /echo --
    /echo The following are in the expedition, but NOT in the raid:
    /for i 1 to ${Window[DynamicZoneWnd].Child[DZ_NumPlayersValue].Text}
        /if (${Raid.Member[${Window[DynamicZoneWnd].Child[DZ_MemberList].List[${i}]}].Name.Equal[NULL]}) /echo ${Window[DynamicZoneWnd].Child[DZ_MemberList].List[${i}]}
    /next i
/return

Sub Raid2Exp
    /declare i  int     local   0
    /echo Current Expedition: ${Window[DynamicZoneWnd].Child[DZ_CurrentDZValue].Text}
    /echo Expedition Leader: ${Window[DynamicZoneWnd].Child[DZ_LeaderValue].Text}
    /echo Expedition Members: ${Window[DynamicZoneWnd].Child[DZ_NumPlayersValue].Text} / ${Window[DynamicZoneWnd].Child[DZ_MaxPlayersValue].Text}
    /echo --
    /echo Raid Leader: ${Raid.Leader}
    /echo Raid Members: ${Raid.Members}
    /echo The following are in the raid, but NOT in the expedition:
    /for i 1 to ${Raid.Members}
        /if (!${Window[DynamicZoneWnd].Child[DZ_MemberList].List[${Raid.Member[${i}]}]}) /echo ${Raid.Member[${i}]}
    /next i
/return
 
Last edited:
Neat,, can easily reverse this too :)....Raid but not in expo

Edit: Always a bitch getting the late-starters into anguish
 
CmpRaid2Exp.mac (Compare Raid to Expedition)

Users who are viewing this thread

Back
Top
Cart