Results 1 to 6 of 6

Thread: how do you end a script with a function?

  1. #1
    Join Date
    Jan 2007
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how do you end a script with a function?

    is there a command that makes the script terminate when the result is true/false or w/e
    AKA http://i105.photobucket.com/albums/m...uceSigcopy.jpg

    I am a SCAR//SRL newb and i am willing to become better =) reading my tut's day by day.

  2. #2
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    there is... but they are tacky and bad programming practice to use.

    let me see the code you are working on, there is always a way to make it not have to use somethig like that.
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  3. #3
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    SCAR Code:
    If(blahblah)then
      TerminateScript;
    STOP PM'ING ME

  4. #4
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hobbit View Post
    SCAR Code:
    If(blahblah)then
      TerminateScript;
    oh! right :P

    i was thinking more of iff you need to end a function... not a script :P
    sorry for the missread
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  5. #5
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Quote Originally Posted by LordGregGreg View Post
    oh! right :P
    Why I get payed the big bucks j/k
    STOP PM'ING ME

  6. #6
    Join Date
    Jan 2007
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks very much
    AKA http://i105.photobucket.com/albums/m...uceSigcopy.jpg

    I am a SCAR//SRL newb and i am willing to become better =) reading my tut's day by day.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Help] Restart Script Function
    By blitzkrieg in forum OSR Help
    Replies: 8
    Last Post: 01-15-2009, 10:58 PM
  2. [Help] Restart Script Function
    By blitzkrieg in forum OSR Help
    Replies: 2
    Last Post: 01-14-2009, 04:13 PM
  3. Function/Script WorldMAPWalk<--Uses the World Map to walk from anywhere!
    By Macrosoft in forum Research & Development Lounge
    Replies: 56
    Last Post: 09-09-2008, 03:52 AM
  4. Auto Updating Script/Function
    By mixster in forum First Scripts
    Replies: 6
    Last Post: 01-06-2008, 02:46 PM

Posting Permissions

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