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
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Tue Feb 04, 2003 1:26 am   

getting triggers with no mud responce
 
Is there a way to activate a trigger without sending anything to the mud?
ot recieving a line from the mud?

what i really want to do is type an alias and have the trigger capture the lines after it. example

portal mimic
portal is the alias and expands to cast portal when it goes to the mud it is
cast portal mimic
I want mimic to go to a @var to be stored for another use and at the same time cast the spell

megamog75
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Tue Feb 04, 2003 2:35 am   
 
well, this can be done:

#tr {cast portal (%w)} {#var var %1;c portal %1}

then just:
#show cast portal mimic
when you want the trigger to fire

--note: i think this is what your looking for?

--------

moon.icebound.net:9000
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Feb 04, 2003 3:02 am   
 
It would be simpler to just include the #VAR command in the alias.
#AL portal {#VAR var {%-1};cast portal %-1}

LightBulb
Advanced Member
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Tue Feb 04, 2003 3:05 am   
 
you guys are the best these both work and i was quick to post because this was descussed a few topics ago sorry for the repeat

megamog75
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