Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1.     def __SendTalkingChatPacket(self, text):
  2.         name = player.GetName()
  3.         if name.find("[SA]") !=-1:
  4.             empire_id = "|cFFFF0000|H|h"
  5.             text =  empire_id + text
  6.             net.SendChatPacket(text, type)
  7.             self.__ResetChat()    
  8.         else:        
  9.             self.__SendChatPacket(text, chat.CHAT_TYPE_TALKING)
  10.             self.__ResetChat()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement