Advertisement
Xzempt

Untitled

Jul 13th, 2011
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local function MenuOnOpen(self, ...)
  2. print(arg1)
  3. if (arg1 ~= true) then
  4. if (string.match(arg1, "player:(.*):")) then
  5. info = UIDropDownMenu_CreateInfo()
  6. info.justifyH = nil
  7. info.text = "|cff00ccffTesting"
  8. info.value = "Testing"
  9. info.tooltipTitle = "Tooltip Title"
  10. info.tooltipText = "This is a test"
  11. info.func = Clicked
  12. UIDropDownMenu_AddButton(info, level)
  13.  
  14. end
  15. else
  16. return
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement