View Single Post
  #2  
Old 04-10-2009, 08:37 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Oops . . . almost forgot to include the script for stop.bat and stop.vbs. These will ensure music from a prior zone stops before starting music for the current zone (otherwise, both will play at the same time).

Stop.vbs
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "%comspec% /c C:\EQEmu\quests\music\stop.bat",0
Set WshShell = Nothing

Stop.bat
@echo off
pskill sndrec32

pskill comes stock with pstools. They are free; just google and download.

Otherwise, just use tskill (tskill sndrec32).
Reply With Quote