on 1:QUIT:{
if (%netsplit == $null) && ( (*?.??* iswm $1) && (*?.??* iswm $2) && ($0 == 2) ) { .timer* off | set %netsplit 1 | amsg *.net *.split Détecté: Désactivation du mode auto voice / op pour 10 minutes. | set %autoop off | set %autovoice off | set %check off | .timer 1 600 /amsg *.net *.split Terminé: Auto voice / op réactivé. | .timer 1 600 set %autoop on | .timer 1 600 set %autovoice on | .timer 1 600 set %check on | .timer 1 600 unset %netsplit }
elseif (%netsplit !== $null) { halt } |