abort conversation after an event occurs

Started by Rocco, Sat 24/04/2004 15:57:50

Previous topic - Next topic

Rocco

hi all,

i have an conversation loop, which i want to break, when i reach 5x times.
but i when i trace 5x times in the
function dialog_request
how can i controll the dialog topics?
for example I have this dialog

option 1 = "hallo"

@S  // dialog startup entry point
return
@1  // option 1
run-script 5
return

in the function:
if(xvalue == 5)      {
   
   
    xtimes++;
   if(xtimes == 5)   {
               here comes the point, how can i controll the dialog from this point?
               }


   }


Rocco

yes thanks, StopDialog(); RunDialog(); is what i need.
very much thx

SMF spam blocked by CleanTalk