home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / tc123.zip / tc123.bx < prev    next >
Text File  |  1999-04-03  |  2KB  |  100 lines

  1. /* Change this to pm123 if using it */
  2. @player=[zmp3]
  3.  
  4. /* BitchX */
  5. eval ^set format_version \$0+\$4\$5/\$2 \$3 : tc123+$player/add-on
  6.  
  7. /* TC123 irc script by Death Syndrome */
  8. @tcversion=[1.0.1bx]
  9.  
  10. alias np {
  11.   ^exec -name query tchelper.exe tag $player
  12.   ^on ^exec "query *" {
  13.    //msg * NP: $1- [tc123]
  14.    echo [tc123] Playing file: $1-
  15.    }
  16. }
  17.  
  18. alias lnp {
  19.   ^exec -name query tchelper.exe tag $player
  20.   ^on ^exec "query *" {
  21.    echo [tc123] NP: $1-
  22.    }
  23. }
  24.  
  25. alias songinfo {
  26.   ^exec -name queryinfo tchelper.exe songinfo $player
  27.   ^on ^exec "queryinfo *" {
  28.    //msg * Stats: $1- [tc123]
  29.    echo [tc123] Info on current mp3: $1-
  30.    }
  31. }
  32.  
  33. alias lsonginfo {
  34.   ^exec -name queryinfo tchelper.exe songinfo $player
  35.   ^on ^exec "queryinfo *" {
  36.    echo [tc123] Info on current mp3: $1-
  37.    }
  38. }
  39.  
  40. alias file {
  41.   ^exec -name queryfile tchelper.exe file $player
  42.   ^on ^exec "queryfile *" {
  43.    //msg * Currently playing file: $1- [tc123]
  44.    echo [tc123] Currently playing file: $1-
  45.    }
  46. }
  47.  
  48. alias lfile {
  49.   ^exec -name queryfile tchelper.exe file $player
  50.   ^on ^exec "queryfile *" {
  51.    echo [tc123] Currently playing file: $1-
  52.    }
  53. }
  54.  
  55. alias rawinfo {
  56.   ^exec -name queryraw tchelper.exe rawinfo $player
  57.   ^on ^exec "queryraw *" {
  58.    echo [tc123] Raw data: $1-
  59.    }
  60. }
  61.  
  62. alias play {
  63.   ^exec echo *play > /pipe/$player
  64.   echo [tc123] Play started.
  65. }
  66.  
  67. alias stop {
  68.   ^exec echo *stop > /pipe/$player
  69.   echo [tc123] Play stopped.
  70. }
  71.  
  72. alias shuffle {
  73.   ^exec echo *shuffle > /pipe/$player
  74.   echo [tc123] Playlist shuffled.
  75. }
  76.  
  77. alias pause {
  78.   ^exec echo *pause > /pipe/$player
  79.   echo [tc123] Play pause toggled.
  80. }
  81.  
  82. alias next {
  83.   ^exec echo *next > /pipe/$player
  84.   echo [tc123] Playing next song.
  85. }
  86.  
  87. alias prev {
  88.   ^exec echo *previous > /pipe/$player
  89.   echo [tc123] Playing previous song.
  90. }
  91.  
  92. alias tcquit {
  93.   ^exec echo *quit >/pipe/$player
  94.   echo [tc123] Quitting player.
  95. }
  96.  
  97. alias tcver //me is cranking it with Total Control 123 version $tcversion - Once a momo, always a momo! [tc123]
  98.  
  99. echo [tc123] Total Control 123 loaded.
  100.