on *:text:!setrules*:#: {
if $nick($chan,$nick,oh) {
set %event $2-
/msg $nick The event has been set to: %event
}
}
on *:text:!rules:#: {
describe # sees that $iif(!%event,there's no event set,today's event is: %event)
}
You needed an * in the first on text event to allow people to enter the actual event. The * is a wildcard that will match anything entered, including nothing.
I changed the format of your if statements that were checking if the person that entered the command was op or half-op. The way you had it would work, this is just a different manner.
You were also missing a closed brace at the end.
Nothing needed to be changed with the second on text event or any of the code that followed it, but I changed the message so that it would show properly if there was no event set
If you have further questions about what I did here, feel free to ask.