The Dink Network

Variable Prob

August 25th 2003, 03:13 PM
stonegiant.gif
hey ive set up variables
make_global_int("&Blood", 0);
make_global_int("&Fingerprints", 0);
make_global_int("&Witness", 0);
make_global_int("&Thread", 0);
make_global_int("&Dagger", 0);

and used them like this
&Blood = 1;
and made them change things like this

void talk(void)
{
freeze(1);
freeze(&current_sprite);
say_stop("Hello",1);
wait(200)
say_stop("`6Hey Dink You Made It!!", &current_sprite);
wait(200)
say_stop("Hey",1);
wait(200)
say_stop("`6SimonK Is Under A Rock", &current_sprite);
wait(200)
say_stop("Hmmm",1);
wait(200)
say_stop("`6Can You Catch The Killer", &current_sprite);
wait(200)
say_stop("Sure!",1);
wait(200)
say_stop("`6Also Kory Has Been Acting Odd", &current_sprite);
wait(200)
say_stop("`6And ThinkDink Has Been Asleep For Ages", &current_sprite);
wait(200)
say_stop("`6I Gotta Go", &current_sprite);
wait(200)
say_stop("Ok ",1);
unfreeze(1)
unfreeze(&current_sprite);
}

if (&Blood == 1)
if (&Fingerprint == 1)
if (&Witness == 1)
if (&Thread == 1)
void talk(void)
{
freeze(1);
freeze(&current_sprite);
say_stop("Hello",1);
wait(200)
say_stop("`6Hey Dink Whats New", &current_sprite);
wait(200)
say_stop("I Found Some Evidence",1);
wait(200)
say_stop("`6Let Me See", &current_sprite);
wait(200)
say_stop("`9*SHOW EVIDENCE*",1);
wait(200)
say_stop("`6Wow!!", &current_sprite);
wait(200)
say_stop("Yup!",1);
wait(200)
say_stop("`6So Its **Not Telling Till Dmod Out**", &current_sprite);
wait(200)
say_stop("`6Well We Are Sending Him To Prison Thanks", &current_sprite);
wait(200)
say_stop("`6 You Helped Loads", &current_sprite);
wait(200)
say_stop("No Problem",1);
unfreeze(1)
unfreeze(&current_sprite);
}

but even after i get the clues he says the same thing

help!!
sorry i make no sense lol im tired and confused
August 25th 2003, 03:31 PM
goblinm.gif
trav666
Peasant He/Him
 
if (&Blood == 1)
{
if (&Fingerprint == 1)
{
if (&Witness == 1)
{
if (&Thread == 1)
{
August 25th 2003, 03:34 PM
stonegiant.gif
ill try that thanks
August 25th 2003, 03:36 PM
stonegiant.gif
still dont work
August 25th 2003, 04:51 PM
spike.gif
Weirdo
Peasant They/Them
 
Try:

void talk(void)
{
if (&Blood == 1)
{
if (&Fingerprint == 1)
{
if (&Witness == 1)
{
if (&Thread == 1)
{
goto SOLVED;
}
}
}
}

freeze(1);
freeze(¤t_sprite);
say_stop("Hello",1);
wait(200);
say_stop("`6Hey Dink You Made It!!", ¤t_sprite);
wait(200);
say_stop("Hey",1);
wait(200);
say_stop("`6SimonK Is Under A Rock", ¤t_sprite);
wait(200);
say_stop("Hmmm",1);
wait(200);
say_stop("`6Can You Catch The Killer", ¤t_sprite);
wait(200);
say_stop("Sure!",1);
wait(200);
say_stop("`6Also Kory Has Been Acting Odd", ¤t_sprite);
wait(200);
say_stop("`6And ThinkDink Has Been Asleep For Ages", ¤t_sprite);
wait(200);
say_stop("`6I Gotta Go", ¤t_sprite);
wait(200);
say_stop("Ok ",1);
unfreeze(1);
unfreeze(¤t_sprite);
return;

SOLVED:

freeze(1);
freeze(¤t_sprite);
say_stop("Hello",1);
wait(200);
say_stop("`6Hey Dink Whats New", ¤t_sprite);
wait(200);
say_stop("I Found Some Evidence",1);
wait(200);
say_stop("`6Let Me See", ¤t_sprite);
wait(200);
say_stop("`9*SHOW EVIDENCE*",1);
wait(200);
say_stop("`6Wow!!", ¤t_sprite);
wait(200);
say_stop("Yup!",1);
wait(200);
say_stop("`6So Its **Not Telling Till Dmod Out**", ¤t_sprite);
wait(200);
say_stop("`6Well We Are Sending Him To Prison Thanks", ¤t_sprite);
wait(200);
say_stop("`6 You Helped Loads", ¤t_sprite);
wait(200);
say_stop("No Problem",1);
unfreeze(1);
unfreeze(¤t_sprite);
}
August 25th 2003, 09:08 PM
wizardg.gif
Paul
Peasant He/Him United States
 
Actually you should close all the braces for the ifs (but not the one for void talk of course) right after goto solved.

And ThinkDink, if that does work, what exaxtly do you mean by "still dont work"? What does it do that it shouldn't or not do that it should spesifically? (It's easier to debug that way. )
August 26th 2003, 02:31 AM
old.gif
TheProphet - Saves the day

void talk(void)
{
if (&Blood == 1)
{
if (&Fingerprint == 1)
{
if (&Witness == 1)
{
if (&Thread == 1)
{
freeze(1);
freeze(current_sprite);
say_stop("Hello",1);
wait(200);
say_stop("`6Hey Dink Whats New", ¤t_sprite);
wait(200);
say_stop("I Found Some Evidence",1);
wait(200);
say_stop("`6Let Me See", ¤t_sprite);
wait(200);
say_stop("`9*SHOW EVIDENCE*",1);
wait(200);
say_stop("`6Wow!!", ¤t_sprite);
wait(200);
say_stop("Yup!",1);
wait(200);
say_stop("`6So Its **Not Telling Till Dmod Out**", ¤t_sprite);
wait(200);
say_stop("`6Well We Are Sending Him To Prison Thanks", ¤t_sprite);
wait(200);
say_stop("`6 You Helped Loads", ¤t_sprite);
wait(200);
say_stop("No Problem",1);
unfreeze(1);
unfreeze(¤t_sprite);
return;
}
}
}
}

freeze(1);
freeze(¤t_sprite);
say_stop("Hello",1);
wait(200);
say_stop("`6Hey Dink You Made It!!", ¤t_sprite);
wait(200);
say_stop("Hey",1);
wait(200);
say_stop("`6SimonK Is Under A Rock", ¤t_sprite);
wait(200);
say_stop("Hmmm",1);
wait(200);
say_stop("`6Can You Catch The Killer", ¤t_sprite);
wait(200);
say_stop("Sure!",1);
wait(200);
say_stop("`6Also Kory Has Been Acting Odd", ¤t_sprite);
wait(200);
say_stop("`6And ThinkDink Has Been Asleep For Ages", ¤t_sprite);
wait(200);
say_stop("`6I Gotta Go", ¤t_sprite);
wait(200);
say_stop("Ok ",1);
unfreeze(1);
unfreeze(¤t_sprite);
}

//I hate that "remove spaces" thing on the board
August 26th 2003, 06:57 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
//I hate that "remove spaces" thing on the board

It would be really easy to fix for redink1 really.. it's not the boards fault, it's the HTML standard's fault. It's called "ignore the whitespace" - If you want to show spaces explicitly, turn " " into " " using some kind of string manipulation thingie.
August 26th 2003, 07:30 AM
stonegiant.gif
well theprophet i tried yours but one prob
only dink talks!!
the other guy dosent
EDIT->
never mind i fixed that thx theprophet
so ill test it thru and hopefully it works
EDIT AGAIN->
nope still dont work
August 26th 2003, 08:33 AM
old.gif
Its a other prob:

This happens with: C U R R E N T
¤t

Whatever:
This is the script

If you get a "Unable to view" page, just select the url and press enter so that you "reconnect" to the url...
August 26th 2003, 08:43 AM
stonegiant.gif
lol i fixed that
but it still dont work properly
August 26th 2003, 09:11 AM
old.gif
So, whats the problem...
August 26th 2003, 12:21 PM
stonegiant.gif
it only says this
say_stop("Hello",1);
wait(200);
say_stop("`6Hey Dink You Made It!!", ¤t_sprite);
wait(200);
say_stop("Hey",1);
wait(200);
say_stop("`6SimonK Is Under A Rock", ¤t_sprite);
wait(200);
say_stop("Hmmm",1);
wait(200);
say_stop("`6Can You Catch The Killer", ¤t_sprite);
wait(200);
say_stop("Sure!",1);
wait(200);
say_stop("`6Also Kory Has Been Acting Odd", ¤t_sprite);
wait(200);
say_stop("`6And ThinkDink Has Been Asleep For Ages", ¤t_sprite);
wait(200);
say_stop("`6I Gotta Go", ¤t_sprite);
wait(200);
say_stop("Ok ",1);
unfreeze(1);
unfreeze(¤t_sprite);

and not the part hes ment to