Difference between revisions of "NAME and DBref Number Display for Easy Nom Participant Listing"

From City of Hope MUSH
Jump to navigation Jump to search
(Created page with "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 t...")
 
(No difference)

Latest revision as of 05:47, 5 December 2020

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)