if u do, ull see theres an extra } at the end
also, instead of doing if ($nick ishop $chan || $nick isop $chan) or if ($nick isop $chan) just do
on *:texT:*:#channel:{
if ($nick ishop $chan || $nick isop $chan) {
if ($1 == delfriend) {
unset...
msg...
}
if ($1 == deletemember) {
unset...
msg...
}
if ($nick isop $chan) {
if ($1 == !addleader) {
set...
msg...
}
if ($1 == etc...) {
etc...
}
}
}
}
}