character speaking base code