C'mon edgy, don't be too "edgy."
If you look at mirc's help file. There are few examples that tell you how to initiate a text or action event by listening to certain triggers.
What shaneny posted was a code that's been made by a lot of people! There's no credit involved in that one-line snippet he posted.
Besides, shaneny's removed the snippet posted and used mine. What's the issue here? This is shaneny's own snippet section. He or she has the right to delete comments if need be.