The Dink Network

Reply to Re: scripting help pls.

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:
 
 
February 15th 2007, 08:53 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Pretty self explanatory stuff here. You don't need the title if you don't want it.

void talk( void )
{
//so Dink doesn't move around while you're selecting
freeze(1);

choice_start();
title_start();
What you want the person to say, or a description
title_end();
"Choice 1"
"Choice 2"
"Leave"
choice_end();

if (&result == 1)
{
//this is choice 1, &result is your choice number
say_stop("This is my first choice", 1);
}

if (&result == 2)
{
say_stop("This is my second choice", 1);
}

unfreeze(1);
}