I screwed up the previous experiment a bit, forgot to actually define post_levent.
lua post_levent=post_levent_for_npt;set_levent_script_mode(1); post_levent("PressRecButton"); post_levent("UnpressRecButton"); set_levent_script_mode(0)
actually switched the cam (a570) to REC mode a couple of times (although a successive command "lua shoot" crashed the camera...as does "lua foo" or any other unknown lua command, btw...).
post_levent_to_ui() for the same event didn't do anything even once, and I can't seem to get *npt to work one more time either...will have to add PB2Rec stuff later, I think it used to work fine before.