How would i do this?
Right now, my guild on Scarshield Legion(Stormwind Militia) has a cool addon, and in it it has (for example) a wanted list. I would like to do something similar to this except it's for patients. The guild has a rank for patients and I want the addon to automatically read this from the guild info in-game, this way it saves time inputting information manually. Would there be a way to do this in a single box which has selectable names and shows the information about the patient (or doctor as might be the case) in a different box?
Thanks...I'm new to wowuidev and so suck at using it. |
A wanted list ? For patients ? Doctors ? are you sure you are talking about World of warcraft ? o_0
|
Quote:
Here's a screenshot Instead of that though, i want it to be a list of patients, or doctors or warders. Is there any way to physically make it scan for ranks in a guild and view the person's name and note? Arkatho. |
The following macro will print a list of all those members with a rank of "patient" and who are online to the default chat frame:
Code:
/run for i = 1, GetNumGuildMembers(true) do n, r, _, _, _, _, c, _, o = GetGuildRosterInfo(i); if r=="patient" and o==1 then DEFAULT_CHAT_FRAME:AddMessage(n.." ("..c..")");end;end |
Thanks, i'll try and develop on this. :D
|
All times are GMT -6. The time now is 02:12 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI