Short: * CheckPort v1.0 (cli script tool) * Author: Doctor Alcohol Uploader: maligan mindless com Type: util/cli Version: 1.0 Architecture: m68k-amigaos CheckPort v1.0 (24.08.98) CheckPort tests mouse buttons or joystick fire button and returns a result to the system via a WARN variable. It is 100% written in assembler, it is small and compact. Now it is possible to check buttons while running script files. If you want to check if a button is pressed, then you are able to use it like this, for instance: CheckPort LEFT If WARN Echo "Left button is pressed." Else Echo "Left button isn't pressed." EndIf This script will write the right message according to the condition of the left mouse button. Currently, CheckPort takes these parameters: LEFT ..... it checks if left mouse button is pressed RIGHT .... same for right mouse button BOTH ..... are both mouse buttons pressed ? FIRE ..... check joystick fire button CheckPort is the right choice for startup scripts, for instance you can put it into STARTUP-SEQUENCE. THIS SOFTWARE IS GIFTWARE! YOU ARE NOT ALLOWED TO SELL IT, PERMISSION IS GRANTED TO DISTRIBUTE THIS BY ANY MEANS AS LONG AS ALL THE RULES ARE KEPT. THERE IS NO LIABILITY TO THIS SOFTWARE-PACKAGE, IN REFERENCE TO THE ASSERTED LAWS. THE COPYRIGHT OWNERS, AND/OR A THIRD PARTY, PLACE THIS SOFTWARE PACKAGE AT YOUR DISPOSAL "AS IS" (EXCEPT WHERE THIS IS FIXED ANYWHERE ELSE IN A WRITTEN WAY) WITHOUT ANY GUARANTEE IN ANY FORM (INDIRECT OR DIRECT FORM). THE FULL RISK OF QUALITY AND FUNCTIONALITY OF THIS SOFTWARE IS AT YOUR OWN. IF THIS SOFTWARE HAS A BUG, YOU HAVE TO PAY ALL COSTS OF THE NECESSARY SERVICE-WORKS AND REPAIRS FOR YOURSELF. UNDER NO CIRCUMSTANCES, THE COPYRIGHT OWNERS OR A THIRD PARTY DISTRIBUTING THIS PROGRAM PACKAGE, AS ALLOWED, JUST BEFORE, CAN NOT BE HELD RESPONSIBLE FOR ANY DAMAGE CAUSED IN ANY USUAL, SPECIAL, OR ACCIDENTAL WAY OR BY THE SOFTWARE PACKAGE (SURROUNDING BUT NOT RESTRICTED ARE THE LOSS OF DATA OR NOT CORRECTLY DISPLAYED DATA OR LOSSES CAUSED BY YOU OR A THIRD PARTY OR BY A FAULTY WORK OF THIS SOFTWARE PACKAGE WITH OTHER PROGRAMS), ALSO IF THE OWNER OR A THIRD PARTY HAS BEEN POINTED AT SUCH POSSIBILITIES OF DAMAGE.