v1de0man i thought this could be used as a script as well as for a bot Are you trying to use this in your own client? I think your problem is this:
.msg
It won't show anything in your client with that '.' I think.