Kane_Red

8=Ball Script_NewMOD

Mar 28th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. list text = [ "It is certain","It is decidedly so","Without a doubt",
  2. "Yes definitely","You may rely on it","As I see it, yes","Most likely",
  3. "Outlook good","Yes","Signs point to yes","Reply hazy try again",
  4. "Ask again later","Better not tell you now","Cannot predict now",
  5. "Concentrate and ask again","Don't count on it","My reply is no",
  6. "My sources say no","Outlook not so good","Very doubtful"
  7. ];
  8. list text2 = [ "Omg", "Touched","Molested","Fingered","Palpated","Groped",
  9. "Fondled","Caressed","Massaged","Licked","Sexed"];
  10. //------------------------------------------------------------------------------
  11. integer ltxt=-1;integer ltxt2=-1;
  12. integer RI(integer n){return(integer)llFrand(n + 1);}
  13. integer RIB(integer min, integer max){return(min+RI(max-min));}
  14. //------------------------------------------------------------------------------
  15. default {
  16. listen(integer ch,string na,key ke,string me){
  17. me=llToLower(me);
  18. integer a=llSubStringIndex(me,"8-box");
  19. integer b=llSubStringIndex(me,"?");
  20. if((a==0)&&(b>-1)){
  21. integer rand=RIB(0,llGetListLength(text)-1);
  22. while(rand==ltxt){rand=RIB(0,llGetListLength(text)-1);}ltxt=rand;
  23. llSay(0,llList2String(text,rand)+".");
  24. }
  25. }
  26. state_entry() {
  27. llListen(0,"",NULL_KEY,"");
  28. }
  29. touch_start(integer mew){
  30. integer rand=RIB(0,llGetListLength(text2)-1);
  31. while(rand==ltxt2){rand=RIB(0,llGetListLength(text2)-1);}ltxt2=rand;
  32. llSay(0,llList2String(text2,rand)+"!");
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment