Well, for one, you didn't specify the event (red). Second, you are trying to kick the nick used as the second word in the command ($2). By using $2-, it lets you also specify a reason.
on @*:[color:Red]text[/color]:!kick *:#: {
kick $chan $2-
}
Use:
!kick someone
!kick someone Go away, spammer!
If you want other types of kicks and bans and so on, it's really the same type of setup, but you use /ban for bans, and /ban -uN (replace N with number of seconds) for a timed ban,and /ban -kuN (replace N with number of seconds) for a timed ban & kick. Just choose your triggers that you want to use and so on.
Try making it by following my kicking example and post what you have and we'll help you fix any problems with it.