corrade-lsl-templates – Diff between revs 8 and 11

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 8 Rev 11
Line 120... Line 120...
120 integer online = FALSE; 120 integer online = FALSE;
121 integer compatible = FALSE; 121 integer compatible = FALSE;
122 string URL = ""; 122 string URL = "";
Line 123... Line 123...
123   123  
124 // The notifications to bind to. 124 // The notifications to bind to.
125 list notifications = [ "group", "notice" ]; -  
126 // The tag that this script uses for notifications. -  
Line 127... Line 125...
127 string EGG_TAG = "147d8bf1-4fbc-4c31-b0ea-1d2a72a41041"; 125 list notifications = [ "group", "membership" ];
128   126  
129 default { 127 default {
130 state_entry() { 128 state_entry() {
Line 294... Line 292...
294 "password", 292 "password",
295 configuration 293 configuration
296 ) 294 )
297 ), 295 ),
298 "action", "remove", 296 "action", "remove",
299 "tag", wasURLEscape(EGG_TAG), 297 "tag", wasURLEscape(
-   298 wasKeyValueGet(
-   299 "notification tag",
-   300 configuration
-   301 )
-   302 ),
300 "callback", wasURLEscape(URL) 303 "callback", wasURLEscape(URL)
301 ] 304 ]
302 ) 305 )
303 ); 306 );
304 llSetTimerEvent(60); 307 llSetTimerEvent(60);
Line 365... Line 368...
365 wasListToCSV( 368 wasListToCSV(
366 notifications 369 notifications
367 ) 370 )
368 ), 371 ),
369 "URL", wasURLEscape(URL), 372 "URL", wasURLEscape(URL),
370 "tag", wasURLEscape(EGG_TAG), 373 "tag", wasURLEscape(
-   374 wasKeyValueGet(
-   375 "notification tag",
-   376 configuration
-   377 )
-   378 ),
371 "callback", wasURLEscape(URL) 379 "callback", wasURLEscape(URL)
372 ] 380 ]
373 ) 381 )
374 ); 382 );
375 llSetTimerEvent(60); 383 llSetTimerEvent(60);
Line 472... Line 480...
472 llOwnerSay("[Control] Version is incompatible! You need a Corrade of at least version: " + 480 llOwnerSay("[Control] Version is incompatible! You need a Corrade of at least version: " +
473 wasKeyValueGet( 481 wasKeyValueGet(
474 "version", 482 "version",
475 configuration 483 configuration
476 ) + 484 ) +
477 " for this HUD." 485 " for this template."
478 ); 486 );
479 compatible = FALSE; 487 compatible = FALSE;
480 //llReleaseURL(URL); 488 //llReleaseURL(URL);
481 return; 489 return;
482 } 490 }