Code:
 on *:text:!list:*:{
.play $nick messages.txt
}