So I am wanting to make it so that if a user has typed any of the commands below, it doesn't display the message for notifying them that the streamer is away as viewers that are currently in the chat don't really need to know this information, and then have it reset their user when away mode is restarted (turned off and then turned on again.) I have tried increasing the flood nick times but if they aren't flooding the command, it's still going to allow the message to show up. Any help with this would be very much appreciated.

Code:

on *:TEXT:!away:#: {
  if ((%floodaway) || ($($+(%,floodaway.,$nick),2))) { return }
  set -u10 %floodaway On
  set -u30 %floodaway. $+ $nick 
  if ($nick isop #) {
    set %away.mode On    
    msg $chan Away mode activated, new users will be alerted that the streamer is away
  }
}
on *:TEXT:hello *:#: {
  if (!%away.mode) return
  if ((%floodhello_*) || ($($+(%,floodhello_*.,$nick),2))) { return }
  set -u10 %floodhello_* On
  set -u3600 %floodhello_*. $+ $nick 
  msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly  
}
on *:TEXT:sup *:#: {
  if (!%away.mode) return
  if ((%floodsup_*) || ($($+(%,floodsup_*.,$nick),2))) { return }
  set -u10 %floodsup_* On
  set -u3600 %floodsup_*. $+ $nick 
  msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly  
}
on *:TEXT:hi *:#: {
  if (!%away.mode) return
  if ((%floodhi_*) || ($($+(%,floodhi_*.,$nick),2))) { return }
  set -u10 %floodhi_* On
  set -u3600 %floodhi_*. $+ $nick 
  msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly  
}

on *:TEXT:hey *:#: {
  if (!%away.mode) return
  if ((%floodhey_*) || ($($+(%,floodhey_*.,$nick),2))) { return }
  set -u10 %floodhey_* On
  set -u3600 %floodhey_*. $+ $nick 
  msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly  
}

on *:TEXT:yo *:#: {
  if (!%away.mode) return
  if ((%floodyo_*) || ($($+(%,floodyo_*.,$nick),2))) { return }
  set -u10 %floodyo_* On
  set -u3600 %floodyo_*. $+ $nick 
  msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly  
}
on *:TEXT:!awayoff:#: {
  if ((%floodawayoff) || ($($+(%,floodawayoff.,$nick),2))) { return }
  set -u10 %floodawayoff On
  set -u30 %floodawayoff. $+ $nick 
  if ($nick isop #) {
    unset %away.mode    
    msg $chan The streamer is back! Enjoy the show. :) 

  }
}


Last edited by powerade661; 12/05/15 03:40 AM.