Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Fri Aug 26, 2005 6:59 pm   

A way to access a named trigger's pattern (like %alias())
 
Given the name of a trigger, is there a way to access its pattern, for use in something like a #show or another #tr command? Just like how %alias() lets me see the expansion of an alias, is there something that lets me get bits out of a trigger, programmatically?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Aug 26, 2005 8:28 pm   
 
Maybe something in COM, but nothing like %alias(). Ironically, there's also a function called %trigger(), but from what I recall of it it's there for backwards compatibility and is a synonym function to %class().
_________________
EDIT: I didn't like my old signature
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Sat Aug 27, 2005 12:30 pm   
 
I was afraid of that. Anyone who knows COM well enough able to give me a snippet of what that'd look like... or explain why it'd be a bad approach?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net