View Single Post
Old 24 August 2019, 18:48   #269
wairnair
Registered User

 
Join Date: Jul 2017
Location: Budapest
Posts: 273
Quote:
Originally Posted by Retro1234 View Post
Or the above
If JoyPress Right shoulder
If JoyPress Left shoulder

Else
Else

Might work.
OK, so Amiga scripting 101 for me..

Code:
Lab start
RAM:readjoy >env:joypad
if $joypad eq reverse
	if $joypad eq forward
		echo >RAM:log.txt "TESTINGTESTING"
	endif
endif
Skip start back
I execute this with "EXECUTE joypadcheck.txt" from Shell and it says

RAM:readjoy: unable to open redirection file
RAM:readjoy failed returncode 10

"RAM:readjoy >env:joypad" works straight from shell..
Attached Files
File Type: zip readjoy.zip (4.2 KB, 8 views)
wairnair is offline  
 
Page generated in 0.04603 seconds with 12 queries