Also,
ban $chan $2 1 kick # $2 $read(kickreason.txt)
You can use the -k switch in /ban, so you can use:
/ban -k $2 1 $read(kickreason.txt)
Keep in mind not everyone has kickreason.txt