Hey this is one of my first scripts and it's pretty simple just a starter really.
To use it you must be Op on the channel, if you want to use it, it must be on a bot other than you but if you want it just on your mIRC account for other people to use then it's good either way. This is ideal for channels with secureops off so it makes it a bit faster to give access.
Example:
Zman: !access Zeedood 5
Zbot:(notice from zbot to zman) Access for Zeedood changed to 5.
Zbot:(notice from zbot to zeedood) You can now press /ns update to update your access.
Zeedood:/ns update
Chanserv set mode +o Zeedood
Zeedood: OMG NOWAI!
Trigger:
!access (without <>)
~SomeMessyScripter
on *:TEXT:!access *:#:{
if ($nick isop $chan) cs access # add $2 $3
notice $nick Access level for $2 changed to $3
notice $2 You can now press /ns update to update your access.
}
Imo I don't think just because you have ops you should have the right to set channel access. This power should only be given to your most trusted friends.
Also, there is nothing stopping someone with access level 5 from setting a level of 1000.
In the same respect, someone with a level of 5 could set someone with a level of 10 to -2.