Results 1 to 3 of 3

Thread: Where to put this?

  1. #1
    Join Date
    Aug 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Where to put this?

    For my script i added an integer one to the declare players then to make them inactive i put
    SCAR Code:
    procedure inactive;
    begin
    if (Vialsfilled >Players[CurrentPlayer].Integer1)then
    Players[currentplayer].active:=false;
    end;

    im pretty sure the procedure in itself is right but im not sure where to put it in the main loop i atached script below so u can see the loop

  2. #2
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    just do this, you dont need a whole procedure:
    SCAR Code:
    if(not(LoggedIn))
        or(FindDead)
        or(InBlack)
        or(Vialsfilled >Players[CurrentPlayer].Integer1)then
          begin
           NextPlayer(False);
           end;

  3. #3
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Seems like you had your question answered, but I was just wondering...under 'Features' you said it had an autoresponder...I guess that's a future feature? I looked through your code and didn't see one...
    Interested in C# and Electrical Engineering? This might interest you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •