[Q] Notice-like information

Is it possible to add a message to our plugin that only we can see in the game? Notice-like or as a chat message.



from phBot import *
import struct

# Inject Packet to Client - Notice Message
def InjectClient_SendNotice(message):
	# Type Notice
	p = struct.pack('B',7)
	p += struct.pack('H', len(message))
	p += message.encode('ascii')

My bad, I think there is no inject to client API function.

:star_struck: You’re the best.

For example, can you say “Hello” as an example? Because I couldn’t fully understand how it works. Or how can we direct it when something happens?

Conditions: If xxx then pyhon(sayhello)

def sayhello():