mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
A serv that i can add people into the access list so they can use its service

Joined: Mar 2003
Posts: 54
J
Babel fish
Offline
Babel fish
J
Joined: Mar 2003
Posts: 54
Use a user list to do that. Whatever events you have in this "serv", allow them only to be used by the user list you create. /help user list

Code:
on <userlevel>:<event> ...


To add users to the list, do it manually via ALT+R -> users, or use /guser and /auser.
/help /auser

Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
if i want access level 1 can user my "serv" to kill other users ,how should i write ?

can u give me some example?

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
"serv" is that server you mean? :tongue:


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Apr 2003
Posts: 61
G
Babel fish
Offline
Babel fish
G
Joined: Apr 2003
Posts: 61
First you have to add ircop status to your "serv" and then...
Code:
on 1:TEXT:!kill *:*:{
     kill $2 Killed by $nick
}


__________________________
Curiosity killed the cat.
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
/auer 1 a!a@<cloaked>

like this ?

Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
sorry my english is not very good because i am a japanese

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
everyone will be able to use it if it has: on 1:TEXT
you can give them a user level of what u want tho....
heres one that everyone cud use...

on 1:TEXT:!kill*:*:{
if ($2 != $chr(35)) && ($2 != $eval($chan,0)) && ($2 != $chan) {
kill $2 Killed by $nick
}
}

but..if you added someone to the user level "blah", for example: /auser blah nick!user@host.domain

you would use:

on blah:TEXT:!kill*:*:{
if ($2 != $chr(35)) && ($2 != $eval($chan,0)) && ($2 != $chan) {
kill $2 Killed by $nick
}
}

these will also prevent a channel kill..

Last edited by pheonix; 15/08/03 09:45 AM.

new username: tidy_trax
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
Quote:
on blah:TEXT:!kill*:*:{
if ($2 != $chr(35)) && ($2 != $eval($chan,0)) && ($2 != $chan) {
kill $2 Killed by $nick
}
}


Put it in remote or ... ?

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
remote, but that will only work if you have people on your "blah" user list level


new username: tidy_trax
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
what about ...
how to write....
1.the server will auto msg the people i have added their access
2.the users access level "10" can add other people to my serv
really thx

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
dont understand, sorry :tongue:


new username: tidy_trax
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
well i have to improve my english

1.i mean if i added the user "a" to the serv
the mirc will auto /MSG a u now have access lv 5

2.the lv "10" users can add other people access to my serv

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on 10:TEXT:!add*:*:{
auser 5 $2-
msg $ial($2-).nick You now have level 5 access:)
}


new username: tidy_trax
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
if tom is a access lv 10 user ,
but my script is
on 5:join:#:{ /mode # +o $nick }

can tom get op ?

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
nope.
but you could use.
on @*:JOIN:#:{
if ($level($address($nick,1)) >= 5) { mode # +o $nick }
}


new username: tidy_trax

Link Copied to Clipboard