Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-07-13, 10:33 PM   #1
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Printing itemLink

Tried on the PTR to print some itemlinks with
Code:
/run print(([Thinking Cap]):gsub('\124','\124\124'))
-- or
/dump ([Thinking Cap]):gsub('\124','\124\124')
Both fail at the gsub with error "unexpected symbol near |"
[Thinking Cap] is just a place holder here for an actual itemlink shift-clicked from the inspect window in-game.

Anyone knows what might be the problem?
I'm just trying to break the escape sequences so I get the full itemlink string to print instead of a hyperlink.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Printing itemLink


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