Auto stuff

By cdcyborg on Jul 30, 2005

Well, i seen some people in other snippets putting:
on *:JOIN:#: { mode $chan +v $nick } Etc. so here is some other ways of doing it:

Here is how to auto give somone modes:

If your not the owner of the channel:

on *:JOIN:#: { mode $chan +[mode] $nick }

Replace [mode] With:

V - Voice
H - Halfop
O - Op
A - Protect
Q - Owner

and replace # with the channel name or you will be setting modes in every channel your in, lol.

If your the owner of the chan:

/cs [cmd] # ADD [nick]

Replace [cmd] with:

VOP - Auto voice
HOP - Auto Halfop
AOP - Auto Op
SOP - Auto Protect
and there aint 1 for owner :) u got to link nickname's for that.

Replace [nick] with the person you want to add.

Thats pretty much the simplest form of auto modes.

If you want only your mates to get auto modes.. use:

on *:JOIN:#: { if ($nick isin %my.friends) { mode $chan +[mode] $nick } }

to add friends, use: /set %my.friends %my.friends [new friend]

to remove 1, u can use: 

//set %my.friends $remove(%my.friends,[friend to remove])

I will make a much better script of all these when i get time but there jst some basic scripts.

Comments

Sign in to comment.
Korvin   -  Nov 12, 2007

and vop, hop, aop, sop dont always work, some servers use /cs access #chan add ACCESSLEVEL, 1-3 is voice 4 is hop, 5-9 is op, 10-9999 is admin

 Respond  
Korvin   -  Nov 12, 2007

for one, its +vhoaq, not +VHOAQ they mean different things.

 Respond  
guest598594   -  Nov 12, 2007

and cdcyborg, to make a lot of comments, do

/*
Tons

of

comments
*/
 Respond  
guest598594   -  Nov 12, 2007

i dont get why the hell you would post this, it is absolutely pointless, its the same friggin thing as the help file, u didnt even write a script! if your going to teach people to make something, put it in the forum, this definitely aint a code snippet...

bigmomma,

on @*:join:#: if ($nick isop $chan) mode $v2 +o $v1
 Respond  
Bigmomma   -  May 06, 2006

Help, how to do this: on *:JOIN:#: { if ($nick isin %my.friends) { mode $chan +[mode] $nick } }

to add friends, use: /set %my.friends %my.friends [new friend]

to remove 1, u can use:

//set %my.friends $remove(%my.friends,[friend to remove])

with fellow ops?

 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.