Jump to content

Kena

Banned
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Kena

  1. 9 minutes ago, Ikh said:

    uiChat.py

    Search 

      Reveal hidden contents
    
    
    	def __SendShoutChatPacket(self, text):
    
    		if 1 == len(text):
    			self.RunCloseEvent()
    			return
    
    		if app.GetTime() < self.lastShoutTime + 15:
    			chat.AppendChat(chat.CHAT_TYPE_INFO, localeinfo.CHAT_SHOUT_LIMIT)
    			self.__ResetChat()
    			return
    
    		a = net.GetServerInfo()
    		Chitra = a[-3:]
    
    		self.__SendChatPacket('|cFF00FF00|HChitra:'+str(player.GetName())+'|h[PM]|h|r: ' + text[1:], chat.CHAT_TYPE_SHOUT)
    
    		self.__ResetChat()
         
    		self.lastShoutTime = app.GetTime()

     

    Replace

      Reveal hidden contents
    
    
    	def __SendShoutChatPacket(self, text):
    		if 1==len(text):
    			self.RunCloseEvent()
    			return
    
    		if app.GetTime() < self.lastShoutTime + 15:
    			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_SHOUT_LIMIT)
    			self.ResetChat()
    			return
    
    		self.SendChatPacket(text[1:], chat.CHAT_TYPE_SHOUT)
    		self.ResetChat()
    
    		self.lastShoutTime=app.GetTime()

     

     

    Not working, i can't write on shout. I want to delete the button ' PM ' and when i click the someone name on shout, will open PM

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.