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
psyborg
Beginner


Joined: 12 May 2003
Posts: 24

PostPosted: Thu May 22, 2003 1:22 am   

Pausing Alias?
 
Is there any way to pause an alias when it is halfway through the routine? Sometimes I am in the middle of the "script" when I need to do something else for a few moments, and then want to pick up where I left off. Thanks!
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Thu May 22, 2003 4:04 am   
 
What you request can be done many ways, most of those ways are not appropiate to specific circumstances. I would suggest whenever you have a question you provide more details as to the circumstances and what you want done then you did in your first post. It is best to provide direct copies of mud output and note places it changes, also the better you can describe what you want to do the better we can create it for you. A contrived example of that last point would be asking for a program that can "speak". Does tht mean you want a program like Eliza (does convcerstions); or a program like zChat that produce a speech like sound, over the speakers, for a given phrase? It could even mean that you want a program capable of parrotting anything, or preforming Bush like functions.

What I am really getting at is that pausing might not be appropiate, and your should provide more details.
Reply with quote
psyborg
Beginner


Joined: 12 May 2003
Posts: 24

PostPosted: Thu May 22, 2003 5:39 am   
 
Err, I though that was self evident. Nothing fancy. something like this that follows...

#var loop 0
#while @loop<11) {
get eleventh scroll in my spell case
#wait 1000
read my scroll
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
put scroll in my spell case
#add loop 1
#wait 1000
}
#var loop 0
#while (@loop<3) {
charge my camb armb 11
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
prep shadows 10
#wait 5000
focus my camb armband
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
cast
#add loop 1
#wait 1000
}
pow kat
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow xib
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow yav
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow plan
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow moon
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow perc
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow trans
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow moonl man
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow psy
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
pow stellar
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
conc
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
get my paper
#wait 1000
read my dol inst
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
study my dol inst
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
#while (@rhand<>"a plain origami dolphin") {
fold my paper
#while (@rtcurrent=0) {#wait 1000}
#while (@rtcurrent>0) {#wait 1000}
}
exha my dolphin

I want to, at any step, "Pause" and then return to where I was. In the wizard front end for simu games, you press shift-esc, and can do whatever, then hit esc again, and the script picks right back up. I know I can use more variables and have it check to see if @pause=1 or 0, but I thought there would be an easier way.

On a side note, can I use those two #while lines I have together there as an alias called "rtwait"?
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