Skip to content

SendPartyMessage

One chat line to every member - the mode’s /p.

A text over 16384 bytes (UTF-8) is cut there, on a character boundary.

SendPartyMessage(party, color, text)
Parameter Type
party number the party
color number 0xRRGGBBAA
text string the line

boolean - false for an unknown party

elseif cmd == "p" then
local party = GetPlayerParty(pid)
if not party then SendClientMessage(pid, COLOR_RED, "You are in no party.") return true end
SendPartyMessage(party, 0x80C0FFFF, "[Party] " .. GetPlayerName(pid) .. ": " .. args)
return true

SendClientMessage · GetPartyMembers · the Parties group of the index