View Single Post
08-05-17, 12:43 PM   #9
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
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
/g Message 1
/ph 2
would be like doing
/y Message 2
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.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 08-05-17 at 12:50 PM.
  Reply With Quote