Hey, I am currently trying to make a command available for all channel moderators and a few selected other members, what I currently have is this:
on *:text:!startuptime:#: {
if ($nick == isop) {
set %uptimeon On
msg # Starting uptime. Enjoy the stream!
set -e %uptime. [ $+ [ # ] ] $ctime
}
elseif ($nick == NAME) {
set %uptimeon On
msg # Starting uptime. Enjoy the stream!
set -e %uptime. [ $+ [ # ] ] $ctime
}
However, the bot doesn't react to moderators writing !startuptime, it only reacts to the elseif people.
Am I using elseif incorrectly? Is there a bracket missing or something?