Thread Tools Display Modes
12-04-15, 08:22 AM   #1
akreem
A Murloc Raider
 
akreem's Avatar
Join Date: May 2010
Posts: 4
Show players in my zone

Hello,

I would like some help with building a macro to show players in my zone.
For example, if i'm in Dalaran, this macro should show something like that :

Players in Dalaran: Player1, Player2, Player3

This could be very helpful Thanks !
  Reply With Quote
12-04-15, 10:10 AM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
/run SlashCmdList['WHO']('z-"'..GetRealZoneText()..'"') should behave the same as typing /who z-"Dalaran" for your current zone.
  Reply With Quote
12-04-15, 10:16 AM   #3
Yukyuk
A Chromatic Dragonspawn
 
Yukyuk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 179
Use the /who command?
__________________
Better to fail then never have tried at all.
  Reply With Quote
12-04-15, 02:14 PM   #4
akreem
A Murloc Raider
 
akreem's Avatar
Join Date: May 2010
Posts: 4
Originally Posted by semlar View Post
/run SlashCmdList['WHO']('z-"'..GetRealZoneText()..'"') should behave the same as typing /who z-"Dalaran" for your current zone.
Your macro behave like /who, but the point is to show the players names (and their classes if possible) in the chat frame (or in a /party).

Originally Posted by Yukyuk View Post
Use the /who command?
Exactly, i don't want to use /who. I need to print a message without opening the /who window.
  Reply With Quote
12-04-15, 02:32 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
And if there are 50+ players in your zone?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
12-04-15, 02:38 PM   #6
akreem
A Murloc Raider
 
akreem's Avatar
Join Date: May 2010
Posts: 4
Originally Posted by Seerah View Post
And if there are 50+ players in your zone?
It shows just 50 players
  Reply With Quote
12-04-15, 03:12 PM   #7
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Let me rephrase that...

Do you seriously want the name, level and class of 50 people to flood your chat frame (or other people's, if you want to send it to party chat)? How is this in any way better than the Who window?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
12-04-15, 03:18 PM   #8
akreem
A Murloc Raider
 
akreem's Avatar
Join Date: May 2010
Posts: 4
I didn't say it's better, it's just faster.
And i won't use it to flood and show 50 names.. It will be basicaly used in arena to show players (same faction) in the same arena to /party
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Show players in my zone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off