This will be like the QuickText only fancier
code:
var ByeMessage = "Bye Bye";
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.match(/^\/signmeout$/i) != null)
{
for(e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext())
{
if (e.item().EditChangeAllowed)
{
e.item().SendMessage(ByeMessage);
Messenger.Signout();
return "";
}
}
}
}