;Alan's picture viewer script ;Put the following script in a spot. ;Put the pictures you want to be shown in the same spot. ON ENTER { linkspot GLOBAL ME linkspot = 0 ME SETSPOTSTATELOCAL } ON ALARM { cmd GLOBAL ;***Set number of pictures here*** 5 nbrpics = ;***End of data*** { ME GETSPOTSTATE 1 + nbrpics % ME SETSPOTSTATELOCAL } cmd "next" == IF { ME GETSPOTSTATE 1 - nbrpics + nbrpictures % ME SETSPOTSTATELOCAL } cmd "previous" == IF } ;Put the following script in a "next" spot ON SELECT { linkspot GLOBAL cmd GLOBAL "next" cmd = 0 linkspot SETALARM } ;Put the following script in a "previous" spot ON SELECT { linkspot GLOBAL cmd GLOBAL "previous" cmd = 0 linkspot SETALARM }