View Single Post
05-01-06, 08:54 AM   #5
Khenan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 5
Once again, thx for the reply.
However there is a small problem. I want to check if the person is in the same guild OR party/raid as me. But this script checks if he is both in the same guild AND party/raid as me, right?

I tried to change
Code:
if unit and GetGuildInfo(unit)==GetGuildInfo("player") then
to
Code:
if unit OR GetGuildInfo(unit)==GetGuildInfo("player") then
But that resulted in an error message (complaining about the use of GetGuildInfo("unit"), which makes sense since "unit" is returned from NameIsGrouped()..
  Reply With Quote