Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell
Created October 12, 2020 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinlacewell/dbae3f9044a64b86a23cc1f8903a918c to your computer and use it in GitHub Desktop.
Save dustinlacewell/dbae3f9044a64b86a23cc1f8903a918c to your computer and use it in GitHub Desktop.

(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”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment