#define MiniMapToggle if view_visible[1]=false { view_visible[1]=true; } else { view_visible[1]=false; } / * To use the Mini Map Toggle script, set a view you would like to use as a mini-map to view 1, and use a something (like a button press, for example) to run this script. It will enable the view if it is off, and disable the view if it is on. * /