I think at this point I need help breaking them down and adding them to the different scripts, @Epic
If I load this entire script, it works, but if I try to split them, I can't get it to work anymore.
For the code snippet in the nickname list, I simply have the commands in the script editor, under Popus, like this:
![[Linked Image from i.imgur.com]](https://i.imgur.com/zwZs2gd.jpeg)
So, how do I add it to the Popups?
For the inputs, the script is like this:
on *:INPUT:#: {
if (!q === $1) {
if ($2 = $null) { /msg chanserv owner # $me }
else { /mode $chan +q $2- }
}
if (!a = $1) {
if ($2 = $null) { /msg chanserv protect # $me }
else { /mode $chan +aaaaaaaaaa $2- }
}
if (!o = $1) {
if ($2 = $null) { /msg chanserv op # $me }
else { /mode $chan +oooooooooo $2- }
}
if (!kb isin $1) { /ban # $2 2 }
if (!k isin $1) { /kick $chan $2 $3- }
if ($1 == .k ) { kick # $2 $3- }
if ($1 == .b ) { ban # $2 $3- }
if (!b == $1 ) { /mode $chan +b $+(*,$2,*),*,!,*,@,*) }
}
}
on 1:connect: {
comandon
}
alias comandon {
if (%cmd1 != $null) { timer1 1 0 %cmd1 }
if (%cmd2 != $null) { timer2 1 0 %cmd2 }
if (%cmd3 != $null) { timer3 1 0 %cmd3 }
if (%cmd4 != $null) { timer4 1 0 %cmd4 }
if (%cmd5 != $null) { timer5 1 0 %cmd5 }
I'm lost here too; I can't add it.
Finally, in the badwords script, I don't think I added it correctly... it works, but in addition to displaying a whois every time a nickname is banned, the status message says "BACC Unknown command."
To add it to the badwords script, I simply added this code under another alias in that script:
alias -bacc { .enable #islogged | set %bchan $1 | whois $2 }
alias setmode { $iif(%bcombo,mode %bchan +bb $address($1,2) $+(R:,$2),mode %bchan +b $+(R:,$2)) | unset %bchan %bcombo }
#islogged off
raw *:*is logged*: setmode $2 $3 | .disable #islogged
#islogged end
And then of course I put this
ban $chan $nick 2 | bacc $chan $nick
in every code on text, like this:
on @*:TEXT:*this one*:#Mairel: ban $chan $nick 2 | bacc $chan $nick
on @*:TEXT:*this one too*:#Mairel: ban $chan $nick 2 | bacc $chan $nick
I hope I explained myself well, I'm sorry for the confusion, if you could tell me how and where they should be added, because I can't do it alone