This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

mode +x

Old posts that have not been replied to for several years.
Locked
S
SnIpA
Voice
Posts: 2
Joined: Sat Dec 25, 2004 4:28 pm

mode +x

Post by SnIpA »

How can i mode +x on the quakenet server When the bot is already authed ?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I don't know what mode +x is on QuakeNet, but if it's usermode, you set it like every other usermode:

Code: Select all

putserv "mode $botnick +x"
S
SnIpA
Voice
Posts: 2
Joined: Sat Dec 25, 2004 4:28 pm

.

Post by SnIpA »

well that could work but i'm looking more after a command version when i typ !fullauth the bot auth's hisslef to Quakenet and set's Usermode +x

p.s. usermode +x is to hide your ip :)

thanks in advance
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

then why don't you provide some details about QuakeNet's auth mechanism so we can help you further? I suspect many of us here don't use QuakeNet
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +ix-ws"
}
As far as I am aware +/-x can bet set by any user authorised or not.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Re: .

Post by awyeah »

SnIpA wrote:well that could work but i'm looking more after a command version when i typ !fullauth the bot auth's hisslef to Quakenet and set's Usermode +x

p.s. usermode +x is to hide your ip :)

thanks in advance
It could work this way:

Code: Select all

#Set your bot's nick password.
set nickpass "google.com"

bind pub n !fullauth auth:quakenet

proc auth:quakenet {nick uhost hand chan text} {
 global botnick nickpass
  putquick "PRIVMSG Q@cserve.quakenet.org :AUTH $botnick $nickpass" -next
  utimer 3 "putquick "MODE $botnick +ix-ws" -next"
  return 0
}
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

That won't work awyeah as you have an *authnick*, Your nickname is not always the same as the authnick.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I'm not sure how they do it on Quakenet, but as for DALnet and NickServ we just simply use:

Code: Select all

putserv "PRIVMSG nickserv@services.dal.net :IDENTIFY $botnick $nickpass"
Alternatively it also can be:

Code: Select all

putserv "PRIVMSG nickserv@services.dal.net :IDENTIFY $nickpass"
Or you can also use $nick which would be the current nick the bot is using. That's why DALnet services has a good feature so you can identify to a nick and use its access even when you are not using it. So in that case even if $altnick is in use, the bot would getops and continue it's channel monitoring even if it was unable to regain its mainnick, but identified to it.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

awyeah wrote:I'm not sure how they do it on Quakenet, but as for DALnet and NickServ we just simply use:

Code: Select all

putserv "PRIVMSG nickserv@services.dal.net :IDENTIFY $botnick $nickpass"
Alternatively it also can be:

Code: Select all

putserv "PRIVMSG nickserv@services.dal.net :IDENTIFY $nickpass"
Or you can also use $nick which would be the current nick the bot is using
it's the other way around - $botnick is the bot's current nick and $nick is the bot's permanent nick which should be used to identify
Locked