unique

Settable:
no
Arguments:
(1) integer array
(2) boolean array
(3) string array
(4) character array
(5) object array
(6) room array
Return Value:
(1) integer array
(2) boolean array
(3) string array
(4) character array
(5) object array
(6) room array

Removes non-unique adjacent values from an array, and returns the compacted array. Since only the ADJACENT non-unique values are removed, this function is most often used in conjunction with sort.
do not use this with obj_in_inventory !