no no no...

i assume u wanna type sumthin like: !kick <sum-lamer-here> <kick-msg-here>

you should use $2...
as in
Code:
 
on *:text:!kick*:#:{
  if ($nick isop #) &amp;&amp; ($2 ison #) &amp;&amp; ($me isop #) {
  kick # $2 $3-
 }
}
 


in the ON TEXT event, $1- holds the whole line
in this case: !kick MyEnemy you're lame!
$1 = !kick
$2 = MyEnemy
$3- = you're lame!

get it now? smile

and to the other guy: $knick only returns sumthin on the ON KICK event, it return the nick of person who was just kicked.

edit: explained stuff

Last edited by arctangent; 13/07/05 04:18 AM.

- I AM -