NAME and DBref Number Display for Easy Nom Participant Listing

From City of Hope MUSH
Jump to navigation Jump to search

When submitting a +xp/nom it is good form to give a list of player names and DB#s. If you forget to grab them during the scene the following command (set on yourself or just the italicized portion used manually) will grab that information.

&cmd`player-dbrefs me=$players *:think itemize(iter(%0,[name(*##)] %([num(*##)]%),,|),|)

Using this will generate a list that looks like this:

TYPED: players parker
RESULT: Parker (#6396)

TYPED: players parker vic
RESULT: Parker (#6396) and Vic (#12105)

TYPED: players parker rl vic
RESULT: Parker (#6396), RasLion (#16666), and Vic (#12105)