initial code for octascript message system