Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. //META<inuse=true>
  3. //META<author=EllyMent>
  4.  
  5. function play(connection, sound_path) {
  6.  
  7.     if(!util.playSound(sound_path)) {
  8.         util.error("Your sound was unable to be played; either it could not be found or it is unsupported.");
  9.     }
  10.     util.error(global.currentSound().getName());
  11.     connection.sendMessage(global.currentChannel(), "Now playing: "+sound.currentSound().getName());
  12.  
  13. }
  14.  
  15. function stop(connection, args) {
  16.     util.stopSound();
  17. }
  18.  
  19. function pause(connection, args) {
  20.     util.pauseSound();
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement