The Dink Network

Reply to Time script

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 21st 2004, 12:31 AM
goblins.gif
igloo15
Peasant He/Him
 
K i am using this script to basically start on one screen then once dink goes to the designated player_map it activates. Instead once i get on the screen that has this script it just crashes dink. The way it should work is loop continuously until it reaches the designated screen in which it will run the if statement then kill the task.

void main(void)
{
int &isthisdone = 0;

if(&isthisdone == 0)
{
script_attach(1000);
&isthisdone = 1;
loop:

if(&player_map == 678)
{
wait(60000);
freeze(1);
say_stop("Wow i am so confused.... where... am... I", 1);
fade_down();
sp_x(1, 267);
sp_y(1, 242);
&player_map = 710;
load_screen();
draw_screen();
draw_status();
fade_up();
say_stop("Huh I am at the beginning again", 1);
kill_this_task();
}

goto loop;
}

}