Quantcast
WoWInterface - View Single Post - Getting item details on hover
View Single Post
08-07-20, 11:37 AM   #15
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,757
Those are special characters in Lua. You need to escape them when using them in a string, or use a literal string (square brackets instead of quotes).

Lua Code:
  1. SetBindingClick("\\", "WalkerbomyTest", "b1")

or

Lua Code:
  1. SetBindingClick([[\]], "WalkerbomyTest", "b1")
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote