Thread Tools Display Modes
06-30-17, 09:33 AM   #1
Asalas77
A Murloc Raider
Join Date: May 2017
Posts: 9
Send spell link with changed name using SendChatMessage

Hey I'm trying to send a spell link with modified name to chat. I managed to obtain the link using

Code:
/script DEFAULT_CHAT_FRAME:AddMessage("\124cffFCFB13\124Hspell:66066\124h[Nurisz]\124h\124r");
but when I paste the same thing into SendChatMessage it doesnt work.

Code:
/run SendChatMessage("\124cffFCFB13\124Hspell:66066\124h[Nurisz]\124h\124r","say");
Is there any way I can make it work? Or use the first one to get the link in chat and then copy it from that message?
  Reply With Quote
06-30-17, 05:18 PM   #2
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
Maybe having zeroes in itemlink causes not to send it. Try with some other spell, for example, 65857 [Entangled Boots].
  Reply With Quote
06-30-17, 05:22 PM   #3
Asalas77
A Murloc Raider
Join Date: May 2017
Posts: 9
No, that's not it. Still nothing is sent.
  Reply With Quote
06-30-17, 07:18 PM   #4
sylvanaar
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 92
The game client often block forged links like you are trying to send.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Send spell link with changed name using SendChatMessage

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off