So i wrote this script to change the map BGM. (i got some part from other script too)
Please help me to add a delay request, and is it possible to make other player entered the map after request can hear it too?
casp_in01,49,187,6 script Musician 479,{
mes "[Musician]";
mes "Relax for a sec, And you find T-ro the best place for u";
menu "Play a song for me",L_forme,"Play a song for everyone",L_foreveryone;
L_foreveryone:
mes "What Song Would you like to play?";
switch(select("I know a song:"+$@Songname$[0]+":"+$@Songname$[1]+":"+$@Songname$[2]+":None")) {
case 1:
mes "[Musician]";
mes "Whats the file number.";
mes "Example : 01,02,03 (in BGM file).";
mes "Do not try to add your own music, other won't hear it.";
mes "If you try to spam, you could be banned.!";
next;
input .@bgm$;
playBGMall ""+.@bgm$+"",""+strcharinfo(3)+"";
announce "Song ("+.@bgm$+") is being played by "+strcharinfo(0)+"",bc_map,0x6bcea9;
close;
case 2:
playBGMall ""+$@Song$[0]+"",""+strcharinfo(3)+"";
announce "Song ("+$@Songname$[0]+") is being played by "+strcharinfo(0)+"",bc_map,0x6bcea9;
close;
case 3:
playBGMall ""+$@Song$[1]+"",""+strcharinfo(3)+"";
announce "Song ("+$@Songname$[1]+") is being played by "+strcharinfo(0)+"",bc_map,0x6bcea9;
close;
case 4:
playBGMall ""+$@Song$[2]+"",""+strcharinfo(3)+"";
announce "Song ("+$@Songname$[2]+") is being played by "+strcharinfo(0)+"",bc_map,0x6bcea9;
close;
case 5:
mes "[Musician]";
mes "Keep Dancing!!!!";
close;
}
L_forme:
mes "What Song Would you like to play?";
switch(select("I know a song:"+$@Songname$[0]+":"+$@Songname$[1]+":"+$@Songname$[2]+":None")) {
case 1:
mes "[Musician]";
mes "Whats the file number.";
mes "Example : 01,02,03 (in BGM file).";
mes "Do not try to add your own music, other won't here it.";
mes "If you try to spam, you could be banned.!";
next;
input .@bgm$;
playBGM ""+.@bgm$+"";
announce "Song ("+.@bgm$+") is being played",bc_map,0x6bcea9;
close;
case 2:
playBGM ""+$@Song$[0]+"";
announce "Song ("+$@Songname$[0]+") is being played",bc_self,0x6bcea9;
close;
case 3:
playBGM ""+$@Song$[1]+"";
announce "Song ("+$@Songname$[1]+") is being played",bc_self,0x6bcea9;
close;
case 4:
playBGM ""+$@Song$[2]+"";
announce "Song ("+$@Songname$[2]+") is being played",bc_self,0x6bcea9;
close;
case 5:
mes "[Musician]";
mes "Keep Dancing!!!!";
close;
}
oninit:
//Change music file names.
setarray $@Song$[0],"Eternity","03","04";
//music names.
setarray $@Songname$[0],"Eternity","Move your Body","Make a Move";
end;
}
caspen,168,224,6 duplicate(Musician) Musiccian#caspen1 479
Question
bearnope246
So i wrote this script to change the map BGM. (i got some part from other script too)
Please help me to add a delay request, and is it possible to make other player entered the map after request can hear it too?
Edited by bearnope2464 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.