Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. list a = [1, 2, 3]; //If the list is empty you will get FALSE when comparing the list.
  2. list b = ["aa", "bb", "cc"];
  3. default
  4. {
  5. touch_start(integer ListCompare(list a, list b))
  6. {
  7.  
  8. llOwnerSay( (string) MyList );
  9. llOwnerSay( (string) NewList );
  10. if ( a == [1])
  11. {
  12. llOwnerSay("its something"); //TRUE
  13. }
  14. else
  15. {
  16. llOwnerSay("its something else"); //FALSE
  17. }
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement