This is just a exmaple:
Code:
on 1:TEXT:hallo*:#:echo -at $nick said: $1- | .msg #testing $timestamp $nick > $1-

first part do a echo to you, the part after | send a message to #testing with the text that was entered along with hallo, the $1- part return the whole line that was typed in to the channel, you can change it to $2- to skip the first word and so on, dont you use the - sign $1 will only return the first word, not all words typed in the chanenl.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }