Historical signature: SendMessage(spawn, message, color_str)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SendMessage(spawn, message, color_str)
Description:
Sends a direct channel message to the Spawn/Player. The color_str is optional, default is white, "red" and "yellow" is offered.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
message (string) - String message.
color_str (string) - String color_str.
Returns: None.
Checked example
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
SendMessage(Spawn, Message, "yellow")
Evidence: server/SpawnScripts/Commonlands/DranokBileblood.lua:192; binding EQ2Emu_lua_SendMessage.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.