The Dink Network

Reply to Re: Choices menus within choice menus

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 18th 2018, 05:29 PM
spike.gif
You can save the value of the first &result in another variable, E.g.

choice_start
"Suck bananas"
"Suck mandarins"
choice_end
int &old_result = &result
if (&old_result == 1)
{
choice_start
"Yes"
"No"
choice_end
if (&result == 1)
say("I sucketh the banana",1)
if (&result == 2)
say("I refrain",1)
}
if (&old_result == 2)
say("I sucketh the mandarin",1)