Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list a = [1, 2, 3]; //If the list is empty you will get FALSE when comparing the list.
- list b = ["aa", "bb", "cc"];
- default
- {
- touch_start(integer ListCompare(list a, list b))
- {
- llOwnerSay( (string) MyList );
- llOwnerSay( (string) NewList );
- if ( a == [1])
- {
- llOwnerSay("its something"); //TRUE
- }
- else
- {
- llOwnerSay("its something else"); //FALSE
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement