Search found 6 matches

by planetsphinx
Sat Aug 28, 2004 2:34 am
Forum: MQ2::Macros::Help
Topic: /whotarget (Pri: and Off:)
Replies: 6
Views: 1415

yeah, I was thinking of modifying the C code to put Equipment.Primary and Equipment.Offhand as variables, but I want my disarm macro include to be usable by anyone.. and not have to require a plugin to be compiled to make the macro usable.. Any dev's reading this and can say whether or not a Equipme...
by planetsphinx
Fri Aug 27, 2004 12:38 pm
Forum: MQ2::Macros::Help
Topic: /whotarget (Pri: and Off:)
Replies: 6
Views: 1415

Ok.. plenty of views here, but no replies.. (wow not even flames hehe) Is everybody else as lost as I am trying to find out how to do this? Excuse my use of linux commands here, but is there a way to parse the output of /whotar in a script? for example, in linux I can run a command, and use awk to p...
by planetsphinx
Tue Aug 24, 2004 6:16 pm
Forum: MQ2::Macros::Help
Topic: /whotarget (Pri: and Off:)
Replies: 6
Views: 1415

Ok.. I found the C code where he does the /whotarget (called SuperWhoTarget in the code).. if (pSpawn->Equipment.Primary) { itoa(pSpawn->Equipment.Primary,szTemp,10); strcat(szMsg,"Pri: "); strcat(szMsg,szTemp); if (pSpawn->Equipment.Offhand) strcat(szMsg," "); } if (pSpawn->Equi...
by planetsphinx
Tue Aug 24, 2004 2:53 pm
Forum: MQ2::Macros::Help
Topic: /whotarget (Pri: and Off:)
Replies: 6
Views: 1415

/whotarget (Pri: and Off:)

Need help on finding the variables that the /whotarget spits out.. More specifically, I'm looking for the variables that display the "Pri:" and "Off:" numbers.. I found /echo ${Target.Holding}, but that's not the same, and doesn't seem to work on NPC's.. Anyone clue me into the r...
by planetsphinx
Mon Aug 23, 2004 11:03 pm
Forum: MQ2::Macros::Macro Depot v3.0
Topic: Rogue Helper v6.0 [Complete Rogue Macro] (Updated: 10-26-04)
Replies: 905
Views: 317087

Ok.. I've got the Disarm subroutine in.. and a toggle on/off if you want.. (/autodisarm) and for now, it disarms during combat, if on. Now.. trying to figure out the variables for holding.. /whotar shows the 2 variables "Pri: and Off:" if any NPC or PC is holding something.. but I can't us...
by planetsphinx
Mon Aug 23, 2004 5:15 pm
Forum: MQ2::Macros::Macro Depot v3.0
Topic: Rogue Helper v6.0 [Complete Rogue Macro] (Updated: 10-26-04)
Replies: 905
Views: 317087

Greetings, short time user of MQ2, and I absolutly LOVE this rogue macro! One short question.. One thing missing from this macro, is the Disarm ability that a rogue can use. I checked the ranger macro, and they had this line in there for disarming.. /if (${Me.AbilityReady["Disarm"]}) /doab...