CadetAndrew commented on a Page, -::Simple Bot Commands::-  -  Mar 27, 2010

You don't want to have more then one on TEXT event in one file, this would be much more affective:

I also see alot of errors in this, this code should fix everything.

on *:TEXT:#:{
if ($me isop $chan) {
if ($1 == .k) { /kick # $2 $3- }
}
elseif ($1 == .j) { /join $2 }
elseif ($1 == .p) { /part $2 }
elseif ($1 == .quit) { /quit $2- }
elseif ($1 == .op) { /mode $chan +o $2 }
elseif ($1 == .dop) { /mode $chan -o $2 }
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.