I'm trying to figure out a way to display the names of all playerkillers (PKs) in red every time the name appears. In my MUD, the only (easy) way to determine who is a player killer is to use the command "killers," which results in an output similar to:
There are currently <x> player killers online:
<name 1> <name 2> <name 3> <etc>
Conceptually, I know I need to a) read the results of the "killers" command into a variable(/table?) and b) construct a trigger that will match if the player's name is included in this variable (e.g., if it's part of the string). Any suggestions as to the best way to do this?
There are currently <x> player killers online:
<name 1> <name 2> <name 3> <etc>
Conceptually, I know I need to a) read the results of the "killers" command into a variable(/table?) and b) construct a trigger that will match if the player's name is included in this variable (e.g., if it's part of the string). Any suggestions as to the best way to do this?