The Dink Network

Reply to Re: Script Problem and some questions.

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:
 
 
November 9th 2010, 04:36 AM
dinkdead.gif
It might be the space, too.
if( &gimme == 1)

should be
if(&gimme == 1)


And if it is intentional, that last thing metatarasal metioned, then there's no need for the &gimme == 2 at all, you could just do this if you like:

void talk(void)
{
  if(&gimme == 1)
  {
    say_stop("`3 All right. Here you go", &current_sprite);
    add_magic("item-fb", 437, 1);
    &gimme = 2;
    //don't forget semicolon here!
  }
  say("`3 Get lost!", &current_sprite);
}