(fvtt-let ([me game.user.name] [users `(game.users.filter (lambda (u) (!= u.name ,me)))] (usernames (–map (alist-get ‘name it) users))) (message “Other users: %s” (s-join “, ” usernames))) ;; => “Other users: Alice, Bob, Mary, Jane”
Created
October 12, 2020 03:45
-
-
Save dustinlacewell/dbae3f9044a64b86a23cc1f8903a918c to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment