First of all, I'm new to mIrc, well any IRC to be honest.

Now that that is said here's what I'm trying to make. I don't know if it's possible but I'd like to make a command like "!banhammer <name>". What this command would do is say a line in chat like "The ban hammer has hit <Name>" or something like that and then would /ban the user.

Any help would be much appreciated, this command is for my friend at

I'm a noob, please do not judge and any help is greatly appreciated.