Results 1 to 11 of 11

Thread: help m3h plz

  1. #1
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help m3h plz

    ummm, i need help with a "type mismatch". ive tried everythying and kind of cant find it.... plzz help

    SCAR Code:
    Const
    Col1=1;//Set Color Numbers 1, 2, and 3
    Col2=1;
    col3=1;
    Tole=30;//Anywhere From 5 To 50
    WhatDir='';//The Direction To Run If U Get Attacked
    Axe=True;// ax equipped?
    Time=True;//If You Want Your Character To Run On A Time
      HowLong=90000;//Self Explanatory, in minutes
    Logz=False;//If You Want Your Character To Chop An Amount Of Trees
      HowMany=1;//Self Explanatory
    MMouseSpeed=11;//Obvious, Set anywhere From 7-14
      RandomMouseSpeed=15;//Adds Extra Random Speed
    Skill='WoodCutting';//Skill To Updrade If You Find A Lamp
    Tries=10;//How Many Times To Try And Find The Tree
    TreeName='illow';// all the lowercase letters in the tree's name

    Var
    Loads: Integer;
    Exp: Integer;
    NumTrees: Integer;
    Tried: Integer;
    NumLogs: Integer;

    this is where it messes up in the If Time Then;

    SCAR Code:
    Procedure MeasureTime;
       Begin;
         If Time Then//If Time Is Set To True Then....
           Begin;
             If TimeRunning>HowLong then
               Begin;
                 LogOut; TerminateScript;
             end;
         end;
     end;
    Originally Posted by YoHoJo
    I like hentai.

  2. #2
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    SCAR Code:
    Procedure MeasureTime;
       Begin;
         If (Time) Then //If Time Is Set To True Then....
           Begin;
             If (TimeRunning > HowLong) then
               Begin;
                 LogOut; TerminateScript;
             end;
         end;
     end;

    Always use brakets with if statements or any other statements...

  3. #3
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    eerrmm... it still dusnt work
    Originally Posted by YoHoJo
    I like hentai.

  4. #4
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Its little hard without the full code untill then im only guesting
    Right, Change time to something else like Time_N as its proably some function or something in scar

  5. #5
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    umm, can i pm u the script? ii dont want the public to see my unfinished script yet
    Originally Posted by YoHoJo
    I like hentai.

  6. #6
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Actuly I tried changeing the "Time" Constant/Var it worked change it something like Time_N

  7. #7
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    eerm, i changed it too, but now it sais type mismatch in the if (TimeRunning > HowLong) then exit;
    Originally Posted by YoHoJo
    I like hentai.

  8. #8
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    SCAR Code:
    Procedure MeasureTime;
       Begin;
         If Time_N Then //If Time Is Set To True Then....
           Begin;
             If ((TimeRunning) > (HowLong)) then
               Begin;
                 LogOut; TerminateScript;
             end;
         end;
     end;
    Dont panic! put bractkets around the TimeRunning and How Long

  9. #9
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol, iman idiot
    Originally Posted by YoHoJo
    I like hentai.

  10. #10
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    I'm worse :P

  11. #11
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    omfg.... still a mismatch eerror =(
    Originally Posted by YoHoJo
    I like hentai.

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
  •