Add Access !access

By SomeMessyScripter on Feb 28, 2009

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.
}

Comments

Sign in to comment.
FordLawnmower   -  Sep 21, 2009

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.

 Respond  
ALONE   -  Sep 21, 2009

05:49:29 !access Sapna 5
05:49:55 ALONE- Access level for Sapna changed to 5
05:50:56 -NickServ- Status updated (memos, vhost, chmodes, flags).
05:51:22 !op
05:51:27 mmmmm
got msg from chanserv but not done op not get access lavel
why ?

 Respond  
Pepsi_Man0077   -  Mar 03, 2009

very simple script, but good job if you are new to scripting

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.