Whisper target

whats wrong with t his code?

/run SendChatMessage("Casting ", “WHISPER”,UnitName(“target”)- GetRealmName(“target”))

/run local name, realm = UnitName("target") if not name then return end if not realm then realm = GetRealmName() end SendChatMessage("Casting ", "WHISPER", nil, name.."-"..realm)

Doesn’t do anything if you don’t have a target selected.

1 Like

TYVM!

at least ten charracters