You cant type it in the same client that running the script, somone else in the channel need to type.