mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
How would i stop myself, the room owner from being auto-voiced by the room bot ?

thanks in advance for your help. smile


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Look in botserv help files im sure there is an autovoice on or off option.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
yes that option is global i believe, i want a remote that will only turn off auto-voice for myself the room owner.


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
If the 'room bot' is a service (ChanServ, X, etc) then mIRC commands have no control over it. The only thing I can think of is to use another nickname.

-genius_at_work

Joined: Mar 2006
Posts: 15
J
Pikka bird
Offline
Pikka bird
J
Joined: Mar 2006
Posts: 15
/nickserv set autoop off (services will not automatically op your nick)
this doesnt work on all networks but worth a try

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
can anyone tell me why this does not stop me being autovoiced ?

Code:
on 1:JOIN:#channel: {
  if ($nick == YOURNICK) { halt }
  else { mode #channel +v $nick
  }



thanks


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
First of all, you're missing a closing }. That's not the reason, though.

If someone else is voicing you, you cannot use halt to prevent it. You can't prevent someone from voicing you.

If you are voicing yourself, it's somewhere else in your script(s) that is doing it.

Btw, if you put a @ in front of the 1 in your on join, it will prevent that from triggering when you join a channel because it will only trigger if you are an op, which you are not when you first join. Also, you should have that there so the other part of the script will work because if you aren't an op and try to voice someone, it will give you an error message.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Is that code in the channel bot? If so, is there already another onJOIN event? The first event of any kind will take priority and voice you before that code is even executed.

If that code is in YOUR mIRC, then it should be obvious why it doesn't stop the bot from voicing you.

-genius_at_work

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ah, right... a bot. I didn't think of that as an option for some reason. If it's on a bot, then I'd still put the @ there, but the rest of the script is correct, other than the missing } at the end.

That means there is another problem someone else (such as genius_at_work suggestion-- another on join above this one).


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
the code is for in my channel bot, the bot is set to autovoice all users on entry but i wish it to over look me and not autovoice me and it was suggested i use that in my remotes.....

so i am still unsure what to edit.

yeah me thick.. lol


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 on @*:JOIN:#channel: {
  if ($nick != YOURNICK) { 
    mode $chan +v $nick
  }
}
 

Change #channel to the name of your channel

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
thank you very much smile

Added it and bot still voiced me frown

Last edited by BritishGent; 16/11/06 04:12 AM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just to make sure... you DID change "YOURNICK" to your actual nick, right? (Not the bot's)

Try going to File > New and move this script into a new script file and see if it works.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
i did change yournick to my nick and i created a new script in remotes section. i am puzzled


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Try moving your new script file to the beginning:

File > Order... > Choose your file > Click 'UP'

-genius_at_work

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
Did as suggested and here is what i entered in my script file:
Code:
on @*:JOIN:#Simons-Forums: {
  if ($nick != ^Silent_Runner^) { 
    mode $chan +v $nick
  }
}


the bot i am using is dreambot 5.4 if that helps and i have turned on the function to autovioce all users. if there is an alternative script command i can use to enable me to disable this i am open to suggestions.

i do thank you all for your assistance in this matter. smile


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Yeah, that does help. It's been a while since I've used that, but I think dreambot uses the /avoice command to voice everyone. In which case, the easiest thing to do is to devoice yourself when you are voiced by the bot. This goes in your remotes, NOT the bots.

Code:
 on *:voice:#:{
if $nick == <bot's nick> && $vnick == $me {
.mode $chan -v $me
}
}
 

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
thank you very much thats worked a treat. smile


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Glad we finally got something that worked for you, even if it is in a round about way.

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
RE: my last on this subject, is there anyway i can incorparate an auto DE-OP in that command with a delay so it de-ops last after devoicing ?


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
on *:voice:#:{
if $nick == <bot's nick> && $vnick == $me {
.mode $chan -v $me
if ($me isop $chan) mode $chan -o $me
}
}

Is this what you mean?
or a seperate script?

on *:op:#:{
if ($opnick == $me) mode $chan -o $me
}

Joined: Jan 2007
Posts: 259
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
Code:
on !@*:join:#yourchannel: {
 .timer 1 2 dovoice $nick $chan
}
alias dovoice {
 if ($1 !isop $2) {
  mode $2 +v $1
 }
}

Untested.


Those who can, cannot. Those who cannot, can.
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Code:
on *:voice:#:{
  if $nick == <bot's nick> && $vnick == $me {
    .mode $chan -v $me
    .timderdeop 1 3 mode $chan -o $me
  }
}


learn learn learn
Page 1 of 2 1 2

Link Copied to Clipboard