mIRC Home    About    Download    Register    News    Help

Print Thread
#233990 29/09/11 08:43 AM
K
KBN
KBN
K
How would you make a script that only works for people who have power and sets user modes.

<@USER> !--
* BOT sets mode: +v-o User User
<+USER> !++
* BOT sets mode: +o-v User User
<@USER> !--
* BOT sets mode: +v-o User User

There is not a way to make it check if they are Channel list is there?

#233991 29/09/11 08:52 AM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
Channel list? and i think you looking for user levels, can you try to explain more about what you trying to do?

#233999 29/09/11 05:28 PM
Joined: Jul 2007
Posts: 1,124
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,124
To make a script work for people with power, you can do either:
Code:
if ($nick isop $chan) {
or
Code:
 if (!$nick($chan,$nick,rv)) {
That's the only question you ask that makes sense to me.


Link Copied to Clipboard