The Dink Network

Reply to A Scrip problem

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:
 
 
September 4th 2007, 10:33 AM
custom_skull.gif
skull
Peasant He/Him Finland bloop
A Disembodied Sod 
Hey I need help here.

void talk( void )
{
if (&key == 1)
{
{
freeze(1);
say_stop("`3Hmm.. this door is locked but... how?", 1);
sp_dir(1, 2);
say_stop("`3I wonder what's behind it?", 1);
unfreeze(1);
}
if (&key == 2)
{
{
freeze(1);
say_stop("`3Hmm.. this door is locked but... how?", 1);
sp_dir(1, 2);
say_stop("`3I wonder what's behind it?", 1);
sp_dir(1, 6);
say_stop("`3This key might...", 1);
sp_nodraw(&current_sprite, 1);
say_stop("`3Open it!", 1);
fade_down();
sp_active(&kill, 0);
wait(500);
script_attach(1000);
fill_screen(0);
&player_map = 283;
sp_x(1, 355);
sp_y(1, 185);
sp_dir(1, 6);
load_screen(34);
draw_screen();
fade_up();
unfreeze(1);
}
---
That's my script. But when I tru to talk to the door, Dink says nothing. and When I got the key. He still doesn't say nothing.

Any help? Did I do something w-r-o-n-g?