Welcome, Guest. Please login or register.

Author Topic: I need help on a a script!  (Read 1639 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline pVC

Re: I need help on a a script!
« on: September 03, 2009, 09:49:50 AM »
If the problem is to detect if there is omniscsi.device... I guess there would be better solution too, but atm this kludge comes in my mind :)

failat 21
version omniscsi.device >nil:
if fail
 echo "does not exist"
else
 echo "exists"
endif

Put anything you want instead those echos... quit command quits the script :)
« Last Edit: September 03, 2009, 09:54:20 AM by pVC »
Daily MorphOS user and Amiga active.