home *** CD-ROM | disk | FTP | other *** search
- ; ########################################################
- ; # This an exampleof the use of cmd_player from the cli #
- ; ########################################################
-
- copy c:echo ram:
- copy cmd_player ram:
- copy c:wait ram:
- path ram: ADD
- cd
-
- echo "Now I'll show a little demonstartion of the possibilities of multi_player,"
- echo "using the cli!"
- echo "First,I'll simply start a song....listen"
-
- ;
- ; # I start the player for the first time, giving him a song! #
- ;
- multi_player -w modules/demosong1
-
- echo "Now i'll wait a little..."
- wait 5
-
- echo "I can stop the song!"
-
- cmd_player Quit
-
- echo "I'll just start the multi_player now, without playing any song"
-
- multi_player -w
-
- echo "Now, we'll tell him to play a song!"
-
- cmd_player "Play modules/mdat.alcatraz1-2"
- cmd_player "Select 2"
-
- echo "The song will now be loaded!...It's a little jingle"
- echo
- echo "But I'll also can change the tune used, if this is a TFMX song,"
- echo "with the 'Select' command!"
- echo
-
- cmd_player "Select 1"
-
- echo
- wait 5
- echo "I can also stop the song, with command 'Stop'"
-
- cmd_player "Stop"
-
- echo
- wait 5
- echo "Of course, I can start again the song, with the command....'Start'"
- echo
-
- cmd_player "Start"
-
-
- echo
- wait 5
- echo "Now, I'll exit the player! Don't forget to look at the read me file"
- echo "and don't forget that you can use AREXX too! I can't put AREXX on "
- echo "this disk because it's not a public domain programm, but you can "
- echo "find an example on this disk named play.rexx"
- cmd_player "Quit"
- echo
-
- delete ram:cmd_player
- delete ram:echo
- delete ram:wait
- wait 4
-
-