View Single Post
12-27-06, 12:28 PM   #18
Melandir
A Defias Bandit
Join Date: Dec 2006
Posts: 2
Originally Posted by Cladhaire
Well, /c does nothing, so that's the bulk of your issue. What you want is something like this:

/script SendChatMessage("I'm innervating you", "WHISPER", nil, UnitName("mouseover"))
/cast [target=mouseover] Innervate
This one is usefoul I'm trying to find a way to modify it to spam a message on a channel

and I have found this nice script


local s = "Innervating"
local index = GetChannelName("yourchannel")
if (index~=nil) then
SendChatMessage(s , "CHANNEL", nil, index);
end

but it's still incomplete cause the result I like to have should be

5 [yourchannel]: innervating YOU (were YOU it's the char under the mouse)

I still miss how to bind the mouseover target in a chat message to sobstitute the "%t" to avoid to select the char I want to innervate to have is name appear in the chat

Last edited by Melandir : 12-27-06 at 12:41 PM.
  Reply With Quote