A good understanding of color values is recommended.
Stored Procedure: _Char_SendTextNotification
Parameters:
@CharID INT- Target character ID@Message VARCHAR(255)- Message to display@AlertType TINYINT- Top notification color0= None1= Pink2= Green3= Blue4= Indigo5= Custom
@ChatboxType TINYINT- Chatbox behavior1= Normal (All tab)2= Whisper3= Notice (All tabs)4= Party5= Guild6= Global11= Union16= Academy
@SystemBox BIT- Show in the bottom-right system box (1= Yes)@Color INT- Custom color (NULLfor default)
Let us test the command by sending a text notification to a specific character.
USE [vPlus] GO DECLARE @CharID INT = (SELECT CharID FROM _OnlinePlayers WHERE CharName16 = 'character_name') EXEC _Char_SendTextNotification @CharID, 'Hello World!', 1, 0, 1;
For real usage, use @CharID directly from your calling procedure.
EXEC _Char_SendTextNotification @CharID, 'Hello World!', 1, 0, 1;