\n'); } function panel (command, args) { switch (command) { case "pause": wmp.Pause(); break; case "play": wmp.Play(); break; case "stop": wmp.Stop(); break; case "switch_vol": if (args==0){ wmp.mute=true; } else { wmp.mute=false; } break; case "volume": wmp.Volume=args; break; } }
|
|||||||||||||||||||||||||
|