timer was broken and calculating time remaining was incorrect, newest version uploaded.
Source: [PAWN] guardTimer.sp - Pastebin.com
Compiled: Dropbox - guardTimer.smx
Note: I'm assuming you mean hats as in hats that plugins put on people. If this isn't the case, ignore this post.
if i remember correctly, hats don't work in tf2 because models can't be parented onto players. (Source)
already made some changes, created cvar sm_guardqueue_timerequired, which defaults to 60. Its the time in minutes required before you're allowed to use !guard. You should set this to 0 for a few days to allow regulars to use the queue while gathering their time.
Although it would be nice, division leaders aren't required to know how to code. I wrote this up at 4 am when i couldn't sleep, so there might be some errors in this.
Source: [PAWN] guardTimer.sp - Pastebin.com
Compiled: Dropbox - guardTimer.smx
@DrLee