Okay,
good point.
in http://vanilla-wow.wikia.com/wiki/API_UnitInRaid it tells me the same i think. just in other words:
Returns
index
Layout position for raid members: integer ascending from 0 (which is the first member of the first group).
At first im really new to lua.
but shouldnt UnitInRaid (UnitInParty) return the index of the raid/party member? if i type
/run SendChatMessage(UnitInRaid("target"))
into a macro
it always returns 1
referring to http://wowwiki.wikia.com/wiki/API_UnitInRaid it should return the raidindex