Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Randomly arrows key?



  • Please log in to reply
3 replies to this topic
themo
  • New members
  • 4 posts
  • Last active: Oct 04 2015 06:44 PM
  • Joined: 02 Oct 2015

Hi again

How to modify this script at that time, was used randomly one of these arrows?

#a::

start:
Random, rand, 0, 31232
sleep, rand
Send ^{Up}
Sleep 999
Send ^{Right}
Sleep 1077
Send ^{Down}
Sleep 1099
Send ^{Left}
Sleep 889
sleep, 31232 - rand
goto, start

Thanks for any help

Peace!



boiler
  • Members
  • 252 posts
  • Last active: Nov 07 2015 09:39 PM
  • Joined: 04 Jun 2014

You want it modified to do what?



themo
  • New members
  • 4 posts
  • Last active: Oct 04 2015 06:44 PM
  • Joined: 02 Oct 2015

You want it modified to do what?

To randomly this time using one of the arrow.

start:
Random, rand, 0, 31232
sleep, rand

Send ^{Up} or Send ^{Right} or Send ^{Down} orSend ^{Left}

sleep, 31232 - rand
goto, start


boiler
  • Members
  • 252 posts
  • Last active: Nov 07 2015 09:39 PM
  • Joined: 04 Jun 2014
✓  Best Answer
start:
Random, rand, 0, 31232
sleep, rand
Random, direction, 1, 4
if (direction = 1)
	Send ^{Up}
if (direction = 2)
	Send ^{Right}
if (direction = 3)
	Send ^{Down}
if (direction = 4)
	Send ^{Left}
sleep, 31232 - rand
goto, start