salahzar

Script Poesia

Apr 5th, 2013
142
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. list poesia = [
  2.  
  3. "FALSA INDICAZIONE",
  4. "Confine, diceva il cartello.",
  5. "Cercai la dogana. Non c’era.",
  6. "Non vidi, dietro il cancello,",
  7. "ombra di terra straniera.",
  8. "Giorgio Caproni, Il muro della terra, 1975"
  9.  
  10. ];
  11.  
  12.  
  13.  
  14.  
  15. integer i;
  16.  
  17. mostraverde(string s)
  18. {
  19.     llSetText( s, <0,1,0>, 1);
  20. }
  21.  
  22. mostrablu(string s)
  23. {
  24.     llSetText( s, <0,0,1>, 1);
  25. }
  26.  
  27.  
  28. default
  29. {
  30.     state_entry()
  31.     {
  32.         llSay(0, "Reset");
  33.         mostraverde(llList2String(poesia,llGetListLength(poesia)-1));
  34.     }
  35.     touch_start(integer count)
  36.     {
  37.         i=0;
  38.        
  39.         mostrablu( llList2String(poesia,i) );
  40.        
  41.         llSetTimerEvent(4);
  42.     }
  43.    
  44.     timer()
  45.     {
  46.         i++;
  47.         if(i< llGetListLength(poesia) - 1)
  48.         {
  49.             mostrablu(llList2String(poesia,i));
  50.             return;
  51.         }
  52.        
  53.         llResetScript();
  54.     }
  55. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×