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
ryntrax2
Newbie


Joined: 13 Sep 2004
Posts: 4

PostPosted: Mon Sep 13, 2004 5:34 pm   

Delay Problems
 
I have a script that does in short version the following. The script is prompt based. When i say that i mean if the triggers fire they changes this and that variable to blah. Now when the prompt trigger fires again and the script relizes that the variables were changed it reports some stuff. Here is my problem.

Say the prompt trigger fires. and my aliases build this information if the triggers were fired since the last prompt. Well that is all well and good but there is a pause. the script will not show the output until some kind of input is sent to the mud wether that be me pressing return or a new line sent to me from the mud.

Any ideas?
_________________
Frank D Phillips
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Sep 13, 2004 8:53 pm   
 
Enable the Trigger on Prompt option for your prompt trigger.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
ryntrax2
Newbie


Joined: 13 Sep 2004
Posts: 4

PostPosted: Tue Sep 14, 2004 12:46 am   
 
One other question lb...Is there a way have a trigger fire and start an alarm and mulistate for another trigger and if that doesnt trigger then to execute a command. and if it does then it stops the alarm. ?
_________________
Frank D Phillips
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Sep 14, 2004 6:32 pm   
 
Yes, it's possible. It would involve commands such as #T+, #SET, #STATE, #ALARM, #TRIGGER, #CONDITION, and quite possibly other commands. Sorry, I really can't give details with vague questions like this.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
ryntrax2
Newbie


Joined: 13 Sep 2004
Posts: 4

PostPosted: Thu Sep 16, 2004 6:24 pm   
 
Assuming.

#ALARM serveralarm {*-15} {#zchat.close @connectingperson}

#trigger {Testguy chats to you, 'pw (%w)'} {#if (@connectingpersonpw = %1) {This right here can i just disable or delete the alarm? Or do i have to do class on and off trix? Co i also just delete the unique alarm if i created one?#serve @connectingperson 1;#private @connectingperson 1;#chatall {@connectingperson is now lbha blah}}

#TRIGGER {BLAH BLAH connected} {
#set serveralarm 0 or just create a unique alarm for this connecting person.
#state pwtrigger {@connectingperson chats to you, 'pw (%w)'}


That is ruff but i guess it gives an idea of what i was referring to.
_________________
Frank D Phillips
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