menu nicklist {
.Moderate ( $+ $$1 $+ ):{ var %reason = $$?="For what reason is the room moderated?"
.Moderate ( $+ $$1 $+ ):{ var %time = $$?="How long is it modded?"
.timer 1 1 /mode $active +m | /msg $active The room has been moderated because: $calc(%reason). Only voiced users can talk at this time (+v in front of name). The room will go back to normal in %minutes.
.timer 1 $calc(%time * 60) /mode $active -m | .timer 1 $calc(%time * 60) /msg $active The room has been unmodded. Thank you for your cooperation and allow this to be a lesson learned.
}
}
Why doesn't this script work? Basically what I'm trying to make it do is add +m to the room, say that it was modded and why, and how long, and then after the moderation is finished it says that the +m is done.
Thanks and I could use some help!