The part between the lines, if you type /ph (or /sph) without anything after it, it will print the list of options.
/ph
Help commands = /ph or /sph
Option = Send - Message:
1 = GUILD - Message 1
2 = YELL - Message 2
3 = PARTY - Message 3
|
if you type say /ph 1, it will use the options in the first msgList entry to create a SendChatMessage():
/ph 1
would be like doing
/ph 2
would be like doing
The entries in the msgList are in two parts
{ "chattype", "message" }
as per
SendChatMessage
If you're only sending one chattype then you don't need that part.