First: type /alias ll /target (it is lowe case L's) and press enter! You need to do that only once before starting the macro up, it is one of the key triggers to that it will work staging these things as it is.
Disclaimer: keep in mind that upper and lower case DO matter with macros and the likes as that is how the stuff react to the actions put into the game and the likes, missplacing a capital letter can cause your macro to not work, take your time to look it over if it is not working as intended.
macro name = Autoinvite or whichever you want to use
/ui action startChatReply;
/ui action chatCursorHome;
/ui action chatCursorRight;
/ui action chatDelete;
/ui action chatDelete;
/ui action chatEnter;
/pause 1;
/invite;
/tell insertyourentertainernamehere clear Last Tell; //// have to tell yourself that for it to work proper ////
/pause 10;
/macro Autoinvite;


.png)
.png)