> now this looks really really ugly to do with progresses, so let me show
you
> what I did here.  All that happens when a mobprog is set to go off is

Oh it's not that bad... ;)
It lets you break the code up in interesting ways, almost like functions.

-----
if progress 0
  say hi
  if ispc $n
    progress 1 2
  else
    progress 4 2
  endif
endif

if progress 1
  say How are you doing?
  progress 2 2
endif

if progress 2
  if isgood $n
    say Fine day for adventuring!
  else
    say Good day for killing!
  endif
  progress 3 2
endif

if progress 3
  say What are your plans?
endif

if progress 4
  say What are you doing here?
endif
-----

Also you don't have to worry about rewriting progs correctly, store whole
prog codes while they are pending...

--Palrich


Reply via email to