Page 8 of 8 FirstFirst ... 6 7 8
Results 71 to 75 of 75

Thread: What's in your login/logout scripts?

  1. #71
    Senior Member Pazleysox's Avatar
    Join Date
    Feb 2009
    Posts
    260

    Default

    This has been working for me:

    Code:
    //advent calendar
    if(substring(today_to_string(), 4, 6) == "12")
    {
        matcher advent = create_matcher("(campground.php\\?preaction=openadvent&whichadvent=\\d+)>", visit_url("campground.php?action=advent"));
        while(advent.find()) visit_url(advent.group(1));
    }
    I think Bale wrote it, but I don't really know. I've had it a long time.
    Originally Posted by AlbinoRhino View Post
    Worked like a dream, thanks much!

  2. #72
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    I think Bale wrote it, but I don't really know. I've had it a long time.
    Originally Posted by AlbinoRhino View Post
    Ayup! That's mine. It's changed just a bit since then to reduce server hits on successive logins.

    Code:
    	if(substring(today_to_string(), 4, 6) == "12" && get_property("_loginCrimboCheck") == "") {
    		matcher advent = create_matcher("(campground.php\\?preaction=openadvent&whichadvent=\\d+)>", visit_url("campground.php?action=advent"));
    		while(advent.find()) visit_url(advent.group(1));
    		set_property("_loginCrimboCheck", "done");
    	}
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  3. #73
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    707

    Default

    Ayup! That's mine. It's changed just a bit since then to reduce server hits on successive logins.
    Originally Posted by Bale View Post
    I have it in a section of my script that only runs once per day. But, thanks for the update anyway ! You're a regular Crimbo elf ! I guess that makes Veracity Aunt Crimbo ? lol

  4. #74
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    I have it in a section of my script that only runs once per day. But, thanks for the update anyway ! You're a regular Crimbo elf ! I guess that makes Veracity Aunt Crimbo ? lol
    Originally Posted by AlbinoRhino View Post
    I used to have a section like that, but I changed so that if one part aborted I could re-run it without concern.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  5. #75
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    707

    Default

    I tend to have relatively small sections under prop control ... and I still have about a billion custom props in my settings file. 11+ years of this game really adds up to a lot of code !

Similar Threads

  1. Replies: 6
    Last Post: 01-24-2013, 10:53 PM
  2. Feature - Rejected Separate on-login/logout scripts per character
    By wrldwzrd89 in forum Bug Reports
    Replies: 4
    Last Post: 07-24-2012, 12:31 AM
  3. Replies: 14
    Last Post: 12-12-2011, 07:07 AM
  4. Replies: 0
    Last Post: 11-25-2011, 06:22 AM
  5. Logout Scripts
    By bumcheekcity in forum Scripting Discussion
    Replies: 7
    Last Post: 03-01-2010, 07:57 AM

Posting Permissions

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