Author Topic: question about simple event macro  (Read 2708 times)

0 Members and 1 Guest are viewing this topic.

Offline HobyTopic starter

  • Elite
  • *
  • *
  • Posts: 1344
  • Activity:
    0%
  • Reputation Power: 14
  • Hoby barely matters.Hoby barely matters.
  • Gender: Male
  • Respect: +79
  • Referrals: 1
    • View Profile
question about simple event macro
« on: August 07, 2009, 03:32:36 AM »
0
Im making a macro to bow every sixty seconds to keep me logged in, question, in the script how do i get it to loop,
Do i use a "begin" at the begining and a "goto begeining" at the end.  Ive read some of the tutorials at easuo but can't seem to find any clear information, maybe cause its like 0500 am
I like you, your death shall be quick and painless!!
I may have alzheimers, but at least I don't have alzheimers.
Walruses are like vampires, only awesome
Pwned-The total domination or shut down of a person or thing. 
I believe a hangover is gods way of saying you kicked ass last night!
Life's to short to remove usb safely.

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: question about simple event macro
« Reply #1 on: August 07, 2009, 04:17:01 AM »
0
This opens your paperdoll every 60 seconds:

repeat
event macro 8 1
wait 60s
until #false
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline HobyTopic starter

  • Elite
  • *
  • *
  • Posts: 1344
  • Activity:
    0%
  • Reputation Power: 14
  • Hoby barely matters.Hoby barely matters.
  • Gender: Male
  • Respect: +79
  • Referrals: 1
    • View Profile
Re: question about simple event macro
« Reply #2 on: August 07, 2009, 04:25:15 AM »
0
whats the #false do? Think i have an idea.
I like you, your death shall be quick and painless!!
I may have alzheimers, but at least I don't have alzheimers.
Walruses are like vampires, only awesome
Pwned-The total domination or shut down of a person or thing. 
I believe a hangover is gods way of saying you kicked ass last night!
Life's to short to remove usb safely.

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: question about simple event macro
« Reply #3 on: August 07, 2009, 04:40:51 AM »
0
The false makes it an infinite loop...

The structure goes  repeat  <this code > until (condition is True)

So putting false as the result of the condition means it repeats forever

I notice Cev used open backpack instead of bow.. which is better as bowing is a bit of a give away that your using a stay alive routine.
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 Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: question about simple event macro
« Reply #4 on: August 07, 2009, 04:44:41 AM »
0
Just remember that "False is always False" unless it's true ;)

EN explained it... the repeat will do a function over and over until a condition is met in the until line. In this case there is no condition to be met, and because it begins as #FALSE it will always be false. Making an endless loop.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline HobyTopic starter

  • Elite
  • *
  • *
  • Posts: 1344
  • Activity:
    0%
  • Reputation Power: 14
  • Hoby barely matters.Hoby barely matters.
  • Gender: Male
  • Respect: +79
  • Referrals: 1
    • View Profile
Re: question about simple event macro
« Reply #5 on: August 07, 2009, 04:45:58 AM »
0
Cool, thats what i thought.  Just wanted to make sure was on the right track.
I like you, your death shall be quick and painless!!
I may have alzheimers, but at least I don't have alzheimers.
Walruses are like vampires, only awesome
Pwned-The total domination or shut down of a person or thing. 
I believe a hangover is gods way of saying you kicked ass last night!
Life's to short to remove usb safely.

Scrripty

  • Guest
Re: question about simple event macro
« Reply #6 on: August 07, 2009, 06:00:52 AM »
0
Nice job on taking the time to learn some things too Hoby. :)  It's WAY better when you learn to do it yourself for sure.  Some serious doors start opening up for ya in game that you never dreamed about.  I'm doing that now.  The possibilities are endless when you take the time.

Offline HobyTopic starter

  • Elite
  • *
  • *
  • Posts: 1344
  • Activity:
    0%
  • Reputation Power: 14
  • Hoby barely matters.Hoby barely matters.
  • Gender: Male
  • Respect: +79
  • Referrals: 1
    • View Profile
Re: question about simple event macro
« Reply #7 on: August 07, 2009, 06:25:10 AM »
0
I can take something that kinda works and know enough to modify it to do what i want. 
I like you, your death shall be quick and painless!!
I may have alzheimers, but at least I don't have alzheimers.
Walruses are like vampires, only awesome
Pwned-The total domination or shut down of a person or thing. 
I believe a hangover is gods way of saying you kicked ass last night!
Life's to short to remove usb safely.

Tags: