WoWInterface - View Single Post - Getting item details on hover
View Single Post
08-07-20, 11:37 AM   #15
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,794
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")


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