PM in chat global varianta usoara si sigura .
*Poze / Video (obligatoriu):
![[Py] PM in chat [Varianta usoara] - Mesaj 1 - Imagine 1 [Py] PM in chat [Varianta usoara] - Mesaj 1 - Imagine 1](https://i.ibb.co/5W3CPKJm/image-2025-05-18-133305891.png)
*Link download:
1. Root - interfaceModule.py
Cauta :
Code:
def MakeHyperlinkTooltip(self, hyperlink):Code:
def MakeHyperlinkTooltip(self, hyperlink):
tokens = hyperlink.split(":")
if tokens and len(tokens):
type = tokens[0]
if "item" == type:
self.hyperlinkItemTooltip.SetHyperlinkItem(tokens)
elif "link" == type:
if tokens[1][:4] == "www.":
webbrowser.open_new(tokens[1])
elif tokens[1] == "http" or tokens[1] == "https":
webbrowser.open_new(tokens[1]+":"+tokens[2])
elif "Chitra" == type or "msg" == type and str(tokens[1]) != player.GetMainCharacterName():
self.OpenWhisperDialog(str(tokens[1])) Adauga :
Code:
Chitra = ''Adauga :
Code:
import playerCode:
def __SendShoutChatPacket(self, text):Schimba cu :
Code:
def __SendShoutChatPacket(self, text):
if 1 == len(text):
self.RunCloseEvent()
return
if app.GetTime() < self.lastShoutTime + 10:
chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_SHOUT_LIMIT)
self.__ResetChat()
return
self.__SendChatPacket(constInfo.Chitra+'|cFF0080FF|HChitra:'+str(player.GetName())+'|h[PM]|h|r' + text[1:], chat.CHAT_TYPE_SHOUT)
self.__ResetChat()
self.lastShoutTime = app.GetTime()

