mIRC Home    About    Download    Register    News    Help

Print Thread
#15535 15/03/03 06:26 PM
Joined: Mar 2003
Posts: 21
N
Nanaki Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2003
Posts: 21
I have made a script where people at certain access levels can use certain commands such as !op and !ban depending on what level they are.
I am know looking to implement this script in a bot, and have already added commands such as !join #chan.
My question is this:
Is it possible to add users at different access levels on different channels? For example the owner of a channel might register their channel with the bot, and have access level 5 on that channel, but might be a regular on a different channel and would need level 3 access.
Is this feasible? If so, what changes to my script would I need?

Thankyou in advance,
Nanaki.

#15536 15/03/03 09:22 PM
Joined: Feb 2003
Posts: 35
O
Ameglian cow
Offline
Ameglian cow
O
Joined: Feb 2003
Posts: 35
should be able to...

/guser #blood -a 5 $$1 3

i think...


Butterflies are random thoughts people have.
They Live, They Die, They Are Pointless.
#15537 19/03/03 05:36 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
you could use the INFO bit to include channel names... but to give a user access at more then 1 channel I would switch to using INI files or hash tables


If it ain't broken, don't fix it!

Link Copied to Clipboard