Umm.. let me see if I can remember what I did. I know it was a horrible hack.
if progress 0 say Hello.. progress 1 2 endif if progress 1 say What a fine day. progress 2 2 endif if progress 2 say Don't you agree? endif Progs are first executed with progress 0... So it runs the 'hello' code the first time through. On the progress command, it just shoves the next progress number and info needed to run the prog into the event queue. When the event expires, it calls the prog again with that progress number. So on this second execution of the prog, progress is set to 1, so it only executes things under the "if progress 1" Yeah that was a horrible hack :) Easy to do though.. I suppose given another chance, I would try instead putting a pointer to the next line in the prog into the queue so it could continue executing where it left off instead of dealing with all of the if's. --Palrich On Thursday 21 November 2002 03:48 pm, Boh-Ahz wrote: > I am working with pretty much the stock version of Nylander's progs. > What want to do is create some kind option to pause between prog > commands. Syntactically, there are quite a few ways to do this. One > example I have seen in the list here previously looked like. > > say Hello. > ;;say What a fine day. > > Where the two ';' meant that the prog paused for two seconds after > saying 'Hello.' before it continued and did the say 'What a fine day.' > Another alternative of what I have seen (somewhere, I have no idea), > was: > > say Hello. > pause 2 > say What a fine day. > > Which should have the same effect. I've pretty much been at a loss at > how to go about this, and was wondering if anyone had any suggestions > for me. The best option I have come up with to date is to modify the > 'delay' command to allow it to trigger a specif vnum prog. Essentially, > the above action would have to be in two different progs that way, which > could get pretty messy when it comes to complex prog behavior. Anyway, > any suggestions would be greatly appreciated. > > Boh-Ahz

