First, remove script 1
Second, BOSSSONG and VICSONG were supposed to stay as those two names.
Third, the script numbers were set up to be plug and play. There was no need to change them. Script 3 should be calling ACS_Execute(2, 0) if you're going to use those numbers.
The resulting scripts should look like:
The script should look like:
#include "zcommon.acs"
str BOSSSONG = "MM7FBOS";
str VICSONG = "MM4VIC"; // This should be some existing song
int bossMusic = 0;
script 2 DEATH
{
Delay(1);
int musiccheck = ACS_ExecuteWithResult(972);
if(bossmusic!=musiccheck)
{
bossmusic=musiccheck;
if(bossmusic==1)
{
SetMusic(BOSSSONG); // This should stay as BOSSSONG
}
if(bossmusic==2)
{
SetMusic(VICSONG);
}
}
}
script 3 (int who) DISCONNECT
{
ACS_Execute(2, 0);
}