Author Topic: F1 looping  (Read 1610 times)

0 Members and 1 Guest are viewing this topic.

Offline DestLuckTopic starter

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • DestLuck has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
F1 looping
« on: July 13, 2012, 02:33:14 PM »
0
Ok i use easyuo and im trying to get a script together to loop F1 over and over untill i decide to stop it?

can anyone help i was thinking

sub main
{
Key F1
}

return






but all that didint work anyone can tell me how?

Offline freddy

  • Sr. Member
  • *
  • Posts: 271
  • Activity:
    0%
  • Reputation Power: 4
  • freddy has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 1
    • View Profile
Re: F1 looping
« Reply #1 on: July 13, 2012, 03:28:22 PM »
0
Ok i use easyuo and im trying to get a script together to loop F1 over and over untill i decide to stop it?

can anyone help i was thinking

sub main
{
Key F1
}

return

if you are using a sub, you have to call it (whatever the term is) by using gosub.
try
while #true
key f1

this will loop indefinitely. you'd have to stop the script in euo. if you want to use conditions use repeat...until

repeat
key f1
until %whatever = #true

tho you could do the same with while..just 2 different ways to accomplish the same thing
« Last Edit: July 13, 2012, 03:30:17 PM by freddy »

Tags: