Signup Now
Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Safe Stamina

  1. #1
    Banned
    Join Date
    Feb 2014
    Location
    Leetstreet
    Posts
    324
    Reputation
    38
    Rep Power
    0

    Safe Stamina

    This is a very small yet effective script that logs you out at your set stamina threshold.


    init start
    local lowstamina = (14*60) + 30 -- 14:30 stamina
    init end

    auto(2000,3000)
    if($pzone and lowstamina >= $stamina) then
    xlog(true)
    end


    I realise most people could make this, however I decided to post it for thoose who don't know how to script at all.
    Last edited by Hultin; 02-21-2014 at 05:44 PM.

  2. #2
    Banned
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    48
    Reputation
    12
    Rep Power
    0
    Syntax...
    Code:
        if ($pzone and $stamina <= 900) then
            wait(1000, 1500)
            closeclient()
        end

  3. #3
    Moderator BUgWT's Avatar
    Join Date
    Dec 2013
    Location
    www.bugwt.com
    Posts
    546
    Reputation
    72
    Rep Power
    22
    Don't forget the auto() if you want it on hotkey!


    LATEST SCRIPTS SKYPE
    Got a Question? Add me on Skype!
    bugwt.support

    This image is hosted on a possibly dangerous website (http://mystatus.skype.com/smallclassic/bugwt.support). Please consider reuploading it on Imgur.com.


  4. #4
    Banned
    Join Date
    Feb 2014
    Location
    Leetstreet
    Posts
    324
    Reputation
    38
    Rep Power
    0
    Oops!

    Added auto, ofcourse.

  5. #5
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Imo its waste of resources to put it on hotkey, this should be done without auto, f.e. in depot action

  6. #6
    Banned
    Join Date
    Feb 2014
    Location
    Leetstreet
    Posts
    324
    Reputation
    38
    Rep Power
    0
    Quote Originally Posted by Imba View Post
    Imo its waste of resources to put it on hotkey, this should be done without auto, f.e. in depot action
    To be honest, the xlog() is just there to showcase how to use it, you could put a goto sending it to offline training, which I would totally recommend, it's awesome!

  7. #7
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by tryller View Post
    Syntax...
    Code:
        if ($pzone and $stamina <= 900) then
            wait(1000, 1500)
            closeclient()
        end
    Whaat?

  8. #8

  9. #9
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Lol, why dont you just try?

  10. #10

 

 

Posting Permissions

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