mIRC Home    About    Download    Register    News    Help

Print Thread
#233990 29/09/11 08:43 AM
Joined: Apr 2011
Posts: 11
K
KBN Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Apr 2011
Posts: 11
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?

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


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
KBN #233999 29/09/11 05:28 PM
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
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