Thanks for your reponse.
i've that:
OnBG:
if($EP7_LANGUE == 0) {waitingroom "Incantation de Shandalar - Salle d'Attente",$EP7_InstJoueurs,"EP7_combatFinal::OnBGJoin",1;}
if($EP7_LANGUE == 1) {waitingroom "Casting of Shandalar - Waiting Room",$EP7_InstJoueurs,"EP7_combatFinal::OnBGJoin",1;}
if($EP7_LANGUE == 2) {waitingroom "Fundición de Shandalar - Sala de Espera",$EP7_InstJoueurs,"EP7_combatFinal::OnBGJoin",1;}
end;
OnEnterBG:
enablenpc "#arsfild16a";
end;
}
and...
OnBGJoin:
if( $@ep7finalcombat == 0 )
donpcevent "EP7_combatFinal::OnReadyCheck";
end;
OnReadyCheck:
if( $@ep7finalcombat )
end;
set .@ep7finalcombat, getwaitingroomstate(0,"Benidictus#ep7");
if( .@ep7finalcombat < $EP7_InstJoueurs )
{
if($ep7_LangChoice & 1) {mapannounce "ars_fild16","Instance -- Incantation de Shandalar : " + .@ep7finalcombat + "/" + $EP7_InstJoueurs +"",1,0xFF6600;}
if($ep7_LangChoice & 2) {mapannounce "ars_fild16","Instance -- Casting Shandalar : " + .@ep7finalcombat + "/" + $EP7_InstJoueurs +"",1,0xFF6600;}
if($ep7_LangChoice & 4) {mapannounce "ars_fild16","Instancia -- Fundición de Shandalar : " + .@ep7finalcombat + "/" + $EP7_InstJoueurs +"",1,0xFF6600;}
end;
}