You must mean "page scripts". A page script can be accessed in the following way: through the global page script, and the individual script links at the top of the edit page box, right next to the title.
Link (please note, i said, link, not page) scripts are executed after the player clicks the link(s). A page (note that i said page, not link) script is executed before the page loads. So for example, in a link script, you can have the variable %LIFE increase by 1. In a page script, you cannot do this, because, well, thats how it is. Page scripts are used to, at the most basic level, alter the description and title of the page. So, put this in a page script and see what you get:
IF %NUMBEROFBOOKS = 1 THEN
$PAGETEXT := "You have 1 book"
Basically, if the variable, NUMBEROFBOOKS is 1, then erase everything that was previously entered in the page's descirption box, and replace it with "You have 1 book". This can come in handy in too many different situations to actually list, however, lets say you liked or wanted what you had in teh page description BUT you wanted to add, for example, a text blurb that said the user is at a certain level. The following will go in a global page script:
IF %LEVEL = 1 THEN
$PAGETEXT := $PAGETEXT + "You are at level 1!"
What this does is, it first determines if %LEVEL is equal to 1, then it if that is true, it keeps the current page descirption AND adds the blurb "You are at level 1!" . This is on EVERY page because it is in a global page script, if you wanted it only one page or NOT every page, you need to put them in individual page scripts.
If you wanted to display more levels, there are three ways of doing this:
The first way is checking off the "Display on every page" checkbox in the variable options for the variable, in this case %LEVEL, that you want to have on each page. It will be displayed as "LEVEL is #"
Or:
IF %LEVEL = 1 THEN
$PAGETEXT := $PAGETEXT + "You are at level 1!"
IF %LEVEL = 2 THEN
$PAGETEXT := $PAGETEXT + "You are at level 2!"
IF %LEVEL = 3 THEN
$PAGETEXT := $PAGETEXT + "You are at level 3!"
But that means that for every level there is, you need to make a two-line code for it. An easier way that can be done is this, and i have not passed it through the script engine, so it may need correction in terms of syntax, if you get an error, let me know and i will fix it:
$PAGETEXT := $PAGETEXT + "You are at level " + %LEVEL
What this should do, as i said it has not been checked for erros, is as you know, add to the current page text, "You are at level " and then the value of %LEVEL is included.