I fixed the bracket mismatches, but you should also think about adding an elseif command with that ison $chan so if the person being attacked isn't in the channel, it will give you a message saying something like "you can't attack a person that isn't here."
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.