The Dink Network

Reply to Re: Script(s) Problem(s)

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:
 
 
December 23rd 2005, 02:58 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
scratcher is right. Your vision script should look like this:

//Vision Script
void main( void )
{

if (&story >= 3)
{
&vision = 2;
}

if (&story == 2)
{
&vision = 1;

say("OH NO, My village is on fire!! I need to check if mom is ok!", 1);
&story = 3;
}

}

I changed the "if"s places because if I didn't, the &story would become 3 in the first "if", then the second if would change the vision to 2, in the same script.