Lua.DoString(string.Format("RunMacroText(\"{0}\")", "/s hello"), 0);
Input to the chat box. Chat strings can be inserted, or stuff like /use Hearthstone
You know i found it in the guide that is included in the Professionbuddy folder.
If you open it you find some nice stuff.
It's not a good way to do it. It only works on english clients and if people use the regular HS.
Here's a better way to do it:
PHP:Lua.DoString("UseHearthstone()");