Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. def MakeHyperlinkTooltip(self, hyperlink):
  2. tokens = hyperlink.split(":")
  3. if tokens and len(tokens):
  4. type = tokens[0]
  5. if "item" == type:
  6. self.hyperlinkItemTooltip.SetHyperlinkItem(tokens)
  7. elif "whisper" == type:
  8. self.OpenWhisperDialog(tokens[1])
  9. else:
  10. chat.AppendChat(chat.CHAT_TYPE_INFO, "Unknown Hyperlink: %s" % hyperlink)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement