View Single Post
04-04-13, 09:52 AM   #4
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
I re-read your post and realized that I forgot to add any sort of check for your focus being a player, and a friendly one at that. This should do the trick.

Lua Code:
  1. /run local n, r = UnitName("focus") if n and UnitIsPlayer("focus") and not UnitIsEnemy("player", "focus") then SendChatMessage("followme", "WHISPER", nil, n..(r and "-"..r or "")) end
  Reply With Quote