Sorry for correcting.
I see missing "}" at the end of code, also 3 times "$nick !isop $chan" checking. the last checking is unnecessary.
No you are quite right to do so Blessing... Yep I forgot the end bracket, The etc !isop check was me reading it wrong earlier, for some reason I thought I didn't add it which I then edited and added it again wrongly.
Thanks for pointing it out. Updated below
on *:TEXT:*:#: {
if ($strip($1) == !join) {
if ($2 == $null) { .notice $nick Command incomplete. Syntax: !join <#channel>. | halt }
if ($2 !== $null) {
if ($nick !isop $chan) { .notice $nick You must be opped to use this command | halt }
if ($me ison $2) { .notice $nick I'm already on that channel. | halt }
if ($me !ison $2) { .join $2 | .notice $nick Joined channel $2 $+ | halt }
}
}
if ($strip($1) == !remove) {
if ($2 == $null) { .notice $nick Command incomplete. Syntax: !remove <#channel>. | halt }
if ($2 !== $null) {
if ($nick !isop $chan) { .notice $nick You must be opped to use this command | halt }
if ($me !ison $2) { .notice $nick I'm not on that channel. | halt }
if ($me ison $2) { .part $2 | .notice $nick Left channel $2 $+ . | halt }
}
}
}