mIRC Home    About    Download    Register    News    Help

Print Thread
#102243 06/11/04 06:37 AM
Joined: Nov 2004
Posts: 3
K
Karnon Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Nov 2004
Posts: 3
I'm scripting a bot, but having problems assigning users to specific channels. For instance
900:nickname:fullname!user@host.com
but I only want Him having access on channel #chat
how is this done? HELP PELASE! thanks in advance.

Karnon

#102244 06/11/04 08:19 AM
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
on 900:text:!blah:#chat: { do stuff }
Just add a channel in there or do named events instead of 900 so like say chat for #chat and trivia for #trivia

Last edited by Armada; 06/11/04 08:19 AM.
#102245 06/11/04 01:49 PM
Joined: Sep 2004
Posts: 200
I
Fjord artisan
Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
im also scripting a bot, but i found it easier to just use flags instead of userlevels

#102246 06/11/04 04:16 PM
Joined: Nov 2004
Posts: 3
K
Karnon Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Nov 2004
Posts: 3
That would work, just tons more work. I know there's a way to add a channel behind their user level access, does anyone know how? If not, I guess I'll have to start over, because He's used almost server wide. frown

#102247 06/11/04 08:17 PM
Joined: Sep 2004
Posts: 200
I
Fjord artisan
Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
=-=-=-=-=Users
In the Users section you can specify a list of users and their access levels using the format:

<level1,level2,...,levelN>:<useraddress>

3,5,6:goat!khaled@mirc.com

The first level is a general access level, which means that the user can access all levels equal to or less than 3. All the other
levels are levels that an event must specifically have to allow a user to access it.

If you want to force the first access level to be a specific level instead of a general access level, you can prefix it with an equal sign.

=3,5,6:goat!khaled@mirc.com

Now this user has access specifically to level 3, 5, and 6 event and to no other events.

-=-=-=-
u can do =(level)
and make that level ONLY avalible for one chanel or as you wish,
so u can do =5,3,6,900
for only those levels no more or less
hope that helps

#102248 07/11/04 06:47 AM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
You can attach information to a userlist entry (/guser level nick masktype [info]) same as with /auser. Then you can use $ulist().info to retrieve this information, allowing you to store a channel or list of channels against each entry

#102249 07/11/04 06:52 PM
Joined: Nov 2004
Posts: 3
K
Karnon Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Nov 2004
Posts: 3
Thanks all! this should work quite well.


Link Copied to Clipboard