Actually it depends on where you want to call it
Scene_Map-- Read Fomar's post
Scene_Battle-- use this code
common_event = $data_common_events[[i]common_event_id[/i]]
$game_system.battle_interpreter.setup(common_event.list, 0)
Any other Scene-- It would be easier to conver the event commands into code and go from there