Commands:
!add
!del
Levels:
1-3 - +v voice
4-6 - +h half op
7-10 - +o auto op
11-9998 - +a Super op
9999 - +q full op
Simple
on *:TEXT:*:#:{
if ($1 == !add) && ($nick isop #) {
writeini users.ini $2 level $3
}
elseif ($1 == !del) && ($nick isop #) {
remini users.ini $2
}
}
on *:JOIN:#:{
if ($readini(users.ini,$nick,level) isnum 1-3) { mode # +v $nick }
if ($readini(users.ini,$nick,level) isnum 4-6) { mode # +h $nick }
if ($readini(users.ini,$nick,level) isnum 7-10) { mode # +o $nick }
if ($readini(users.ini,$nick,level) isnum 11-9998) { mode # +a $nick }
if ($readini(users.ini,$nick,level) isnum 9999) { mode # +q $nick }
}
Is it possible to make it when you add a nick to give a notice to the user who adds the new nick something like this - Testnick has been added with v/hop/op ( the same for the delete function) and if it's possible to make the bot v/hop/op the user after he identifies in the server network and if the user isn't registered to send a notice to the user adding the new - This user isn't registered or something like that. By the way great script !:)
Cheers.