Advertisement
unixwz0r

xmms2np.tcl

May 31st, 2016
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.92 KB | None | 0 0
  1. ############################
  2. # XMMS2 Now Playing script #
  3. #      by: CyberpunkZ      #
  4. ############################
  5.  
  6.  
  7. #set this to "-" if you want everyone to use the !xmms2np command
  8.  
  9. set userflag "-"
  10.  
  11. #set this to any word you want to type if you want to see the botnet xmms2 player now playing infomation
  12.  
  13. set trig "!xmms2np"
  14.  
  15. bind PUB $userflag $trig main_xmms2_np
  16.  
  17. proc main_xmms2_np {nick uhost hand chan arg} {show_xmms2np $nick $uhost $hand $chan $arg}
  18.  
  19. proc show_xmms2np {nick uhost hand chan arg} {
  20. catch {exec xmms2np} xnp
  21.  
  22. putserv "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\037X\003\0034MMS2 Now Playing\037\017\00364\002\]\003\003\0034°|°Oo.  \003«--"
  23. puthelp "PRIVMSG $chan : --»\0034  .oO°|°\017\00364\002\[\00306\003\003$xnp\017\00364\002\]\003\003\0034°|°Oo."
  24. }
  25.  
  26. ############################################################
  27. putlog "XMMS2np by: CyberpunkZ is now loaded."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement