just go to C

graal2001\levels\tiledefs
then open era tile defs copy it and paste it into offline tile defs
then when you go online save the level as era_ what ever. It's easier than trying to get the script right. I could get the script but that would mean digging up one of my levels its saved in. ;x