The Dink Network

Reply to Choices Command

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 7th 2003, 09:11 PM
dragon.gif
eug1404
Peasant He/Him New Zealand
 
Ok i'm fairly new to DinkC scripting and have been through a couple of tutorials but whenever i select anything in the following code it crashes my computer and pulling out the plug is the only solution .

void talk(void)
{
freeze(1);
say_stop("`#What were YOU doing in pillbug manor?", &current_sprite);

choice_start()
"I was teleported there by a magical duck-mage to save our world"
"Im an idiot who just got lost"
choice_end()

}

if (&result== 1)
{
say("`#Ah ha and i'm king Daniel, u aint going anywhere", &current_sprite);
}

if (&result== 2)
{
say("`# Exactly as i thought, Get out of here scumbag!", &current_sprite);
screenlock(0);
}

Im guessing it will be something simple that im just too new to pick-up but yeah any help would be great.