Dialog script

Started by Estaog, Sat 26/06/2004 08:41:38

Previous topic - Next topic

Estaog

I made this script for the run-script command:
     else if (value == 7) {
       if (money2==0) {}
       else if (money2==1) {
         option-on 5
}

It says undefined token `token`. Any suggestions?
Think about the kittens man!

http://members.aol.com/johnk0/godkills.jpg

strazer

Just as normal script commands can't be used in dialog scripts, "option-on" is a dialog script command and can't be used in normal scripts.
Use the SetDialogOption function.

SMF spam blocked by CleanTalk