How to create / edit a configuration file / fullscreen edito

Hi , Im new working with routerOS,
I would like write a few lines ,Ex:

/systema identity set name=“router1”
/interface bridge add name=“bridge1”
/ip addreess add address=1.1.1.1 interface=ether1

then save, edit , execute , schedulle, etc.


Up to now I can do:
export file=myscript
but when I do:
file edit myscript.rsc contents ;
it shows an empty screen on the editor

also
system script print … is empty (my script does not exist?)
file print detail (now it is)

Ok … any help would be preciated, thanks.
Leandro.

did you try command “/system script edit”?