The bop command, i can't get right about the last one, which involves to prevent any viewers to use and get bopped in 5 second as warning, can you help me about that? thanks in advance
edit: this code triggers the first and last. this should not happen it
i can't get this right with | anyone can explain me?
on *:TEXT:!bop*:#: {
if ($nick isop #) {
if (!$2) msg # who i am going to bop
elseif ($2) && (!$3) msg # /timeout $2 1
elseif ($2) && ($3) msg # /timeout $2 $3
}
elseif (!$2) && (!$3) msg # /timeout $nick 5 $+ | /msg # Oh you are not gonna abuse it.
}
I have no idea what you want but from what i understand the code continues when it should not? try this maybe
on *:TEXT:!bop*:#: {
if ($nick isop #) {
if (!$2) {
msg # who i am going to bop
return
}
elseif ($2) && (!$3) {
msg # /timeout $2 1
return
}
elseif ($2) && ($3) {
msg # /timeout $2 $3
return
}
}
else (!$2) && (!$3) {
msg # /timeout $nick 5
msg # Oh you are not gonna abuse it.
return
}
}
Oh thanks! , the problem was when i use this command, no matter if you are streamer, mod or viewer, it will pop the last message
i tested and it gave me the error, the error was (!$2) unknown command