Difference between revisions of "User:PixelProphet Lane/Scripts"

From Second Life Wiki
Jump to navigation Jump to search
Line 97: Line 97:
// In case you distribute this code as non modifiable part of your scripts or objects, please include a reference to the page
// In case you distribute this code as non modifiable part of your scripts or objects, please include a reference to the page
// you aquired the source from.
// you aquired the source from.
 
integer DLGCHAN;
integer DLGCHAN;
integer HDL;
integer HDL;
Line 119: Line 119:
list    USERS;
list    USERS;
list    BUTTONS;
list    BUTTONS;
 
SendDialog()
SendDialog()
{
{
Line 156: Line 156:
         }
         }
     }   
     }   
     if (PAGE == 1 && LASTPAGE > 1)
     if (PAGE == 1 && lastpage > 1)
     {
     {
         BUTTONS += [BTN_END,BTN_NEXT];
         BUTTONS += [BTN_END,BTN_NEXT];
     }
     }
     if (PAGE == 1 && LASTPAGE == 1)
     if (PAGE == 1 && lastpage == 1)
     {
     {
         BUTTONS += BTN_END;
         BUTTONS += BTN_END;
     }
     }
     if (PAGE > 1 && PAGE < LASTPAGE)
     if (PAGE > 1 && PAGE < lastpage)
     {
     {
         BUTTONS += [BTN_BACK,BTN_NEXT];
         BUTTONS += [BTN_BACK,BTN_NEXT];
     }
     }
     if (PAGE == LASTPAGE && PAGE != 1)
     if (PAGE == lastpage && PAGE != 1)
     {
     {
         BUTTONS += BTN_BACK;
         BUTTONS += BTN_BACK;
Line 180: Line 180:
     llDialog(CURRENTUSERKEY, MESSAGE+" ",BUTTONS,DLGCHAN);  
     llDialog(CURRENTUSERKEY, MESSAGE+" ",BUTTONS,DLGCHAN);  
}
}
 
integer IsAuthorized(string name)
integer IsAuthorized(string name)
{
{
Line 187: Line 187:
     return FALSE;
     return FALSE;
}
}
 
integer IsValidButton(string name)
integer IsValidButton(string name)
{
{
Line 194: Line 194:
     return FALSE;
     return FALSE;
}
}
 
default
default
{
{
Line 201: Line 201:
         llResetScript();   
         llResetScript();   
     }
     }
   
     state_entry()
     state_entry()
     {
     {
Line 222: Line 222:
             llWhisper(0,"No Notecard by the name of "+NOTECARD+" or "+NOTECARD+" is not a valid asset.");
             llWhisper(0,"No Notecard by the name of "+NOTECARD+" or "+NOTECARD+" is not a valid asset.");
         }
         }
       
     }
     }
   
     touch_start(integer num)
     touch_start(integer num)
     {
     {
Line 255: Line 255:
         }
         }
     }
     }
   
     changed(integer change)
     changed(integer change)
     {
     {
Line 266: Line 266:
         }
         }
     }
     }
   
     listen(integer channel, string name, key id, string msg)
     listen(integer channel, string name, key id, string msg)
     {
     {
Line 309: Line 309:
             SendDialog();
             SendDialog();
         }
         }
       
     }
     }
   
     dataserver(key query_id, string data)
     dataserver(key query_id, string data)
     {
     {
Line 333: Line 333:
         }
         }
     }
     }
   
     timer()
     timer()
     {
     {
Line 356: Line 356:
             }
             }
         }
         }
       
     }
     }
}
}
</lsl>
</lsl>
}}
}}

Revision as of 12:59, 22 November 2010

Fast List Prim Contents


Real Object Inventory To Dialog