Right, Hi, first post here, a bit of a Newbie when it comes to scripting.
Right, What I want my script to do is, when I type '/Flash', I want it to type 
FLASHBANG! and close the conversation (/close).
Right, my question is, How on Earth, would I script it, so that, when I type /flash it does these things, I have got the hang of the rest, I just need help on this bit.
code:
function notify(msg){
    msg = MsgPlus.RemoveFormatCodes(msg); 
    MsgPlus.DisplayToast("Flashbang Script!", msg, ""); 
}
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
if(Message=="/flash"){
        <MESSAGES GO HERE>
        notify("You have just Flashbanged those Mofo's.")
        return'';
    }
    
}    
Thanks in advance, Guys! 
