I'm not sure it will be exactly the same since I run the LUA commands using chdkptp protocol instead of LUA script from within the camera, but this is the sequence I'm using:
this is all lua commands:
enter_alt();
call_event_proc('SS.Create'); call_event_proc('SS.MFOn'); - necessary for working with manual focus
set_prop(222,0); - set IMAGE resolution
set_focus(65000); - set FOCUS (65000 is inf)
set_prop(272,0); - set WB
set_prop(102,1); - set Drive Mode
Hope this will be helpful
Nadav