mIRC Home    About    Download    Register    News    Help

Print Thread
#154914 02/08/06 05:55 AM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
I got this dude that keeps oping me in a channe i am in, and I do not want op in that channel. How can I deope myself, whenerver I get op?


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154915 02/08/06 06:18 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 on *:op:#:$iif($opnick == $me,.mode $chan -o $me) 


Please note that as written, you will not be able to maintain full ops status in any channel. If this is for one specific channel, change # to the channel name or names separated by commas

#154916 02/08/06 06:27 AM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
Thank you!


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154917 06/08/06 12:04 PM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
How would I do thiswith +v as well?
I mean, one that keeps the op, but removes the +, when somone set it.

confused

#154918 06/08/06 07:49 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
on @*:VOICE:#: { if ($vnick == $me) /mode $chan -v $me }


-KingTomato
#154919 06/08/06 09:54 PM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
Thank you! laugh

I am starting to start to elarnt his coding.

This is fun! wink


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154920 07/08/06 05:02 AM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
The thing is:


When I join a channel, this person there, gives automatic voice..

That did not help. (against it)

Is there a way to have me devoice myself in any "spesified" channel, whenever I get op-ed?

confused

I might use; on *:op:#:$iif($opnick == $me,.mode $chan -v $me)

But thank you for any replys! wink

Last edited by gomp; 07/08/06 05:06 AM.

I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154921 07/08/06 04:03 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
you can use:

Code:
on @*:voice:#: {
  if ($vnick == $me) { mode # -v $me }
}


to deop yourself on ALL channels you are opped on if you get voiced and you want want it


Those who fail history are doomed to repeat it
#154922 07/08/06 05:45 PM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
I used

on *:op:#utvikling:$iif($opnick == $me,.mode $chan -v $me)

As it it only on/in that channel...

Now, I got a bot, named gomp, too.. Can I somehow make that include/devoise it too?

Like

on *:op:#utvikling:$iif($gomp == $gomp,.mode $chan -v $gomp)

confused


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154923 07/08/06 09:40 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
If your bot is a mirc bot you can use the same code. If you want your bot, named Gomp to devoice itself when it gets voice if opped, you can use the same code I gave you above. if you're looking to use "if I get opped devoice myself", then you can use:

Code:
on *:op:#utvikling: {
  if (($opnick == $me) && ($me isvoice #)) { mode # -v $me }
}


That would go in your BOT'S ALT + R. If YOU want to devoice your BOT instead of it doing it for itself, you would do:

Code:
on *:op:#utvikling: {
  if (($opnick == gomp) && (gomp isvoice #)) { mode # -v gomp }
}


you could also do this if you want to be the one to monitor you both:

Code:
on *:op:#utvikling: {
  if (($opnick == gomp) || ($opnick == $me) && ($opnick isvoice #)) { mode # -v $nick }
}


Those who fail history are doomed to repeat it
#154924 08/08/06 09:36 AM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
Sorry, that was just confusing...


I want to -v gomp, when ever someone give it a +v ...


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154925 08/08/06 02:08 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Code:
on @*:voice:#channel: {
  if ($vnick == gomp) { mode # -v gomp }
}


Those who fail history are doomed to repeat it
#154926 09/08/06 12:20 AM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
Thnak you, and sorry for not understanding. smile


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
#154927 09/08/06 04:14 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
no problem, glad to be of help


Those who fail history are doomed to repeat it

Link Copied to Clipboard