ON *:TEXT:.add*:#cdqpug:{ if($2 == T){ if(%tplayer.1 == None) goto tplayer1 else if(%tplayer.2 == None) goto tplayer2 else if(%tplayer.3 == None) goto tplayer3 else if(%tplayer.4 == None) goto tplayer4 else if(%tplayer.5 == None) goto tplayer5 else { msg #cdqpug Il n'y a plus de place pour les terroristes } } if($2 == CT){ if(%ctplayer.1 == None) goto ctplayer1 else if(%ctplayer.2 == None) goto ctplayer2 else if(%ctplayer.3 == None) goto ctplayer3 else if(%ctplayer.4 == None) goto ctplayer4 else if(%ctplayer.5 == None) goto ctplayer5 else { msg #cdqpug Il n'y a plus de place pour les counter-terroristes. } } #On ajoute les option GoTo :tplayer1 set %tplayer.1 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :tplayer2 set %tplayer.2 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :tplayer3 set %tplayer.3 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :tplayer4 set %tplayer.4 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :tplayer5 set %tplayer.5 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :ctplayer1 set %ctplayer.1 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :ctplayer2 set %ctplayer.2 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :ctplayer3 set %ctplayer.3 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :ctplayer4 set %ctplayer.4 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt :ctplayer5 set %ctplayer.5 $nick msg $chan 4,1· 0Players for the PUG 4,1· 0T: %tplayer.1 - %tplayer.2 - %tplayer.3 - %tplayer.4 - %tplayer.5 4,1· 0CT: %ctplayer.1 - %ctplayer.2 - %ctplayer.3 - %ctplayer.4 - %ctplayer.5 4,1· halt }