Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Done with help from the Scripts group and Wicked Winslet
  2.  
  3. list HerbNames = [];
  4. list HerbAmounts = [];
  5. default
  6. {
  7.     state_entry()
  8.     {
  9.        llListen(0,"",NULL_KEY,"");
  10.     }
  11.  
  12.     touch_start(integer total_number)
  13.     {
  14.         llOwnerSay(llGetListLength(HerbNames);
  15.     }
  16.     listen(integer channel, string name, key id, string message)
  17.     {
  18.         list temp = llParseString2List(message, [""],[""]);
  19.             if (llList2String(temp,0)=="")
  20.             {
  21.                 HerbNames += llList2String(temp,1);
  22.                 temp == [];
  23.             }
  24.             else
  25.             {
  26.                 llSay (1, "Invalid!");
  27.                 temp == [];
  28.             }
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement