Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def MakeHyperlinkTooltip(self, hyperlink):
- tokens = hyperlink.split(":")
- if tokens and len(tokens):
- type = tokens[0]
- if "item" == type:
- self.hyperlinkItemTooltip.SetHyperlinkItem(tokens)
- elif "whisper" == type:
- self.OpenWhisperDialog(tokens[1])
- else:
- chat.AppendChat(chat.CHAT_TYPE_INFO, "Unknown Hyperlink: %s" % hyperlink)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement