The Dink Network

Reply to Re: Help with script please

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:
 
 
August 12th 2006, 09:00 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
Okay, so would this work...

if (&gold > 99)
{ wait(500);
say_stop("`3Thanks. See ya.", &current_sprite);
&gold -= 100;
move_stop(&current_sprite, 4, -50, 1);
&story = 4;
draw_screen();
unfreeze(1);
return; }

Cuz that looks kinda weird to me.Then again, most scripts do.

or what about like this...

if (&gold > 99)
{ wait(500);
say_stop("`3Thanks. See ya.", &current_sprite);
&gold -= 100;
move_stop(&current_sprite, 4, -50, 1);
&story = 4;
fade_down();
fill_screen(0);
//take Player to story 4
&player_map = 198;
draw_background();
load_screen();
draw_screen();
sp_x(1, 380);
sp_y(1, 310);
&update_status = 1;
draw_status();
unfreeze(1);
sp_nodraw(1, 0);
wait(200);
fade_up();
kill_this_task();
return;
}