ADESC Code That Only Others Trigger

From City of Hope MUSH
Jump to navigation Jump to search

ADESC is awesome and powerful. It lets you know when anything looks at you. However, if you look at yourself (to check what desc you are wearing, etc) you trigger it as well. The following code makes it so that you do not trigger your own Adesc when you look at yourself (overriding the default Player @adesc) and displays the looker's name with their @moniker if they have one (the colorful names some people use on the MUSH.

@adesc me=@break strmatch(%#,%!);think [moniker(%#)] just looked at you.