View Single Post
10-16-12, 11:19 PM   #2
Ekaterina
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 65
Caetan,
I believe that you will just need to add some lines to the top.

Lua Code:
  1. if not IsInGuild() then return end -- Checks to see if you're in a guild, if not does nothing further.
  2.  
  3. local myGuildName = "My Guild Name" -- Replace "My Guild Name" with the name you are looking for. Capitalisation matters!
  4. local guildName, guildRankName, guildRankIndex = GetGuildInfo("player")
  5.  
  6. if not (guildName == myGuildName and guildRankIndex == 3) then return end -- Check if your guild name and rank is what you are looking for, if not does nothing further.

This has only been drycoded, but I think this is all you should need.
Ekat
  Reply With Quote