Save message body as text?

HI friends…Is there a way …where i can write some script to save the message body as text in a particular folder???

please help i am new to lotus notes…

Thanx

Shambhu Narayan