View Single Post
04-04-13, 11:12 AM   #5
kittykatmax
A Fallenroot Satyr
 
kittykatmax's Avatar
Join Date: Apr 2007
Posts: 21
Originally Posted by Clamsoda View Post
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
Thank you again!
  Reply With Quote