For the channel trigger, you can look in some events such as on text, on input (text by yourself), on kick, on join, and a lot more... just type for example: /help on text
Then, in the events, just redirect $1- to the alias called split I give.
alias split {
var %a = 1, %b = $gettok($1-,0,32)
while (%a <= %b) {
echo -a $gettok($1-,%a,32)
inc %a
}
}
Just replace the 32 in both gettok by the char value of the character you want. For example, if you want the specific character to be ";", you would do: //echo -a $asc(;)
So you would replace 32 (the space) by 59 and do:
/split first line;second line;third line here;fourth line and so on; fifth..
Also, you can replace the "echo -a" by whatever you want.