Easy Perm Ops

By briansmurph on Sep 08, 2008

Easily Permanently Admin/Op/Halfopa user using the Xop system. Owner or access level high enough in room required.

Add To New Remotes :)

menu nicklist,query {
  Smurphs Easy Ops
  .admin : .timer 1 3 /msg chanserv sop $chan add $1 
  .op : .timer 1 3 /msg chanserv aop $chan add $1 
  .halfop : .timer 1 3 /msg chanserv hop $chan add $1 

}

Comments

Sign in to comment.
AlienDK   -  Dec 09, 2008

How can it add $1 to a ChanServ list for $chan if you're in a query?

 Respond  
Cheiron   -  Sep 16, 2008

Luci_ferson... let me re-itterate what i said when i comented on brian's snippet for you.

sorry for the double posting. if you want to make your channel a bit more secure with ops ect. you can always turn XOP off and use access levels. i will post the commands below for you.

it was but an idea and an idea only for a suggestion. that is what we do here, well some of us more helpful ones anyway. we look at other takes, help clean up code, and offer alternatives. and that is all mine was.. a suggestion

 Respond  
Luci_ferson   -  Sep 16, 2008

I cant believe how many comments a 6 Lined script that was written in 2 mins, to help out a friend has had. By the way thanks briansmurph it works perfectly for me even if the timers were a bit annoying thanks to the simplicity of your script i am finally beginning to understand basic scripting, and lowered the timers
and
Cheron your script was absolutley no use to me as my room dont work on access levels but i do believe briansmurph stated that it was for xop in the description.
Thanks again Briansmurph...

Simple simplicity Rules again

 Respond  
Cheiron   -  Sep 14, 2008

i shunted the access commands up as a snippet myself in the end brian :) found on page http://www.hawkee.com/snippet/5109/

there for you if you wanna clearer look at it without the comments

 Respond  
briansmurph   -  Sep 14, 2008

jaysus...... shit load of comments for a script i only wrote for a mate and put here cos 2 others wanted it..... only took a minute and ya timers aint necessary but i like em :)
anyways, thx for comments. didnt bother adding an "access levels" script addition cos the fella that requested the script ony uses xop. but ya wud be useful i spose :)

 Respond  
Cheiron   -  Sep 13, 2008

could do i guess jonesy but then again this is only a popup.
let me shunt this as a snippet as a submission seeing as i done it as an access feature not chanserv

 Respond  
Jonesy44   -  Sep 12, 2008

Might want to add;

if ($me isop $chan) {
xx
}

 Respond  
Cheiron   -  Sep 12, 2008
 menu nicklist,query {
Cheiron's Basic Ops Add via Access
.Admin: .cs access $chan add $1 10
.AOP: .cs access $chan add $1 5
.HOP: .cs access $chan add $1 4
.VOP: .cs access $chan add $1 3
}

how's that lol

 Respond  
napa182   -  Sep 12, 2008

when you post a code as a comment use the code tag's ;x

code here

 Respond  
Cheiron   -  Sep 12, 2008

ooooooh! well.. they say you leran something new everyday. lemme edit this then for brian.

menu nicklist,query {
Cheiron's Basic Ops Add via Access
.Admin: .cs access $chan add $1 10
.AOP: .cs access $chan add $1 5
.HOP: .cs access $chan add $1 4
.VOP: .cs access $chan add $1 3
}

 Respond  
napa182   -  Sep 12, 2008

yeah .cs

 Respond  
Cheiron   -  Sep 12, 2008

cheers napa :)

silence a call to services.. not come across that one before. i wasnt aware you could. how does that work then? .cs , .notice /cs , or just cs

 Respond  
napa182   -  Sep 12, 2008

yeah it works but i would silence the call to cs no biggie

 Respond  
Cheiron   -  Sep 12, 2008

ah right. it is just something i have not really seen the need to do myself. personally i only give rank to those i know i can trust etc.

handy to know though in future for if i ever change my scrooge ways lol.

cheers napa :)

btw.. did that test version i knocked up work for anyone?

 Respond  
napa182   -  Sep 11, 2008

well if you want to protect a user so no other op's in room can ban them you would give them a higher lvl number and it's also so you can set what access lvl's can do what on the channel. so it gives control abit ez'r

 Respond  
Cheiron   -  Sep 11, 2008

nodsnods. that is a good next step up from the basic commands. always makes me wonder why though people use such a high access number.. 1-9999. realistically <0,0,3,4,5,10,founder is all you need.
could you explain that a bit more as to why people use such high number scheme when not required

 Respond  
PuNkTuReD   -  Sep 11, 2008

this might help if ya wanna expand a bit

  ..Channel Access List
  ...Add:ChanServ ACCESS $chan ADD $$?"Nick" $$?"Level 1-9999"
  ...Count:ChanServ ACCESS $chan COUNT
  ...Del:ChanServ ACCESS $chan DEL $$?"Nick , Entry Number"
  ...List:ChanServ ACCESS $chan LIST 
 Respond  
Cheiron   -  Sep 11, 2008

menu nicklist,query {
Cheiron's rough untested guide to access ops
.Admin: /cs access $chan add $1 10
.AOP: /cs access $chan add $1 5
.Hop: /cs access $chan add $1 4
.VOP: /cs access $chan add $1 3
}

try that and see if it works. it might need a bit of editing but that is the general idea. please note i have put "rough untested guide"

 Respond  
Paul_1337noob   -  Sep 11, 2008

lol, like 20 lines of text hard to miss XD

 Respond  
a careful warchild   -  Sep 11, 2008

oh yes so you did lol :P didnt see that bit.

 Respond  
Cheiron   -  Sep 11, 2008

that is why i gave the commands for access :) as an idea

 Respond  
a careful warchild   -  Sep 11, 2008

you should add it for people who have access ;) (i mean the xop system off btw)

 Respond  
PuNkTuReD   -  Sep 10, 2008

nice lil script man

 Respond  
Cheiron   -  Sep 09, 2008

sorry for the double posting. if you want to make your channel a bit more secure with ops ect. you can always turn XOP off and use access levels. i will post the commands below for you.

User access levels

By default, the following access levels are defined:

Founder   Full access to ChanServ functions; automatic
                  opping upon entering channel.  Note
                  that only one person may have founder
                  status (it cannot be given using the
                  ACCESS command).
     10   Access to AKICK command; automatic opping.
      5   Automatic opping.
      3   Automatic voicing.
      0   No special privileges; can be opped by other
                  ops (unless secure-ops is set).
     <0   May not be opped.

These levels may be changed, or new ones added, using the
LEVELS command; type /ChanServ HELP LEVELS for
information.

please note this is from a server of UnrealIRCd type or anope. to add a halfop. then access number is 4

 Respond  
Cheiron   -  Sep 08, 2008

not really seeing as it is a basic chanserv command, but a delay on it happening of 3 seconds isn't that bad really. have seen much worse on here of late.

 Respond  
Jonesy44   -  Sep 08, 2008

The timers really necesary?

 Respond  
Cheiron   -  Sep 08, 2008

you can lose the /msg chanserv and just use /cs sop $chan add $1

or aop or hop instead the sop.

that is at least the case with unrealirc servers

 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.