I'm having a hard time believing this actually runs as intended just from the way it's setup.
if ($nick($chan,$nick,&~))
msg $chan ---> Echo Bot Disconnected <--
{ /quit Disconnected }
Mainly because you initiate a bracket out of the blue with no preceding statement.
$nick(#,N/Nick,aohvr) only supports a mixture of "aohvr" a = all nicks, o = ops, h = halfop, and so on. However to get rank symbols like you've shown is an easy adjustment: $nick($chan,$nick).pnick "The pnick property returns the nickname in a .@%+nick format." Right out of the help file. :)
This is how it should look.
if ($nick($chan,$nick,&~)) {
msg $chan ---> Echo Bot Disconnected <---
quit Disconnected
}
Just a few suggestions, hope it helps.