The Dink Network

Reply to Re: Loading screen

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:
 
 
June 28th 2003, 09:11 PM
pillbug.gif
Well, at one point in my d-mod, it allows you to determine what a spell will do depending on how high your magic is. I don't want monsters killing Dink while he chooses his spell. One other thing, I was creating this script:

VOID MAIN(VOID)
{
stop_entire_game();
fade_down();

say_stop("Time's up! Your score was: &score",1);
wait(2000);
say_stop("I'd say your rating is:
wait(2000);

if (&score < 20)
{
say_stop("Pascifist",1);
return;
}
if (&score > 20)
{
say_stop("Retired Swordsman",1);
return;
}
}

... I was going to continue, but ran into a big problem. If I did, if (&score > 30), it would all run together because 30 is still higher than 20. Worse than that, they wouldn't run together, it would just say "Retired Swordsman" because of the return command. I guess I could do something like it could check if it's higher than the needed amount but lower than the next higher.. Oh.. My brain is throbbing.. Please help with my dillemma! EDIT: Nevermind, I figured it out..