Change supersonic and ultrasonic notification in chat
$quiz.on('init',()=>{
$chat.on('new-line',onNewLine);
});
$quiz.on('destroy',()=>{
$chat.off('new-line',onNewLine);
});
function onNewLine(e){
let ss = e.find('.msg.supersonic');
let us = e.find('.msg.ultrasonic');
if(ss.length || us.length){
let msg = ss.length ? ss : us;
let playerName = msg.find('b').text();
msg.html('The '+(ss.length ? 'GUNSLINGER' : 'GUNFIGHTER')+' '+playerName+' claimed the reward!');
}
}