Author Topic: #Time  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

Offline KhameleonTopic starter

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
#Time
« on: September 25, 2008, 06:01:34 PM »
0
I'm sure its been coded somewhere I've searched but haven't had any luck.. and for the life of me I can't seem to simplify it in code.
basically what I'm trying to do it stay in the logout screen until lets say... the shard comes up from shard maintenance.

so if I log off UO and goto bed (Yes I don't Macro 24/7)
and want my character to log in at 3:30 am

Repeat
until #time < 240000 && #Time > 030000
Login script goes here.

but that time is so vague... that technically wouldn't work until the clock passed Midnight. maybe I gota work something into the date?

set %date #Date
if %Date > #Date
Goto Login

Offline talkmill

  • Jr. Member
  • **
  • Posts: 36
  • Activity:
    0%
  • Reputation Power: 0
  • talkmill has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: #Time
« Reply #1 on: September 25, 2008, 11:39:05 PM »
0
Hmmm, can't you just set the expected login time/date when you logout. For example:

Code: [Select]
set %logindate #date + 1
set %logintime 033000
and then:

Code: [Select]
Repeat
until #date >= %logindate && #Time >= %logintime
Login script goes here.

I guess you could calculate the time to wait instead of using a repeat until to save some cpu but i'm to tired for that right now :)

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: #Time
« Reply #2 on: September 26, 2008, 08:35:36 AM »
0
I belive C2 release a login script over on the www.winuo.com boards.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline KhameleonTopic starter

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: #Time
« Reply #3 on: September 26, 2008, 01:32:22 PM »
0
I belive C2 release a login script over on the www.winuo.com boards.

ya that's the one I currently use, but it just auto logs you in when you disconnect.
I'm looking to log in a specific time. then log off, or idle out.

Tags: