egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Where to add /msg hostserv on

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
starpossen
Op


Joined: 10 Jan 2006
Posts: 139

PostPosted: Thu Mar 23, 2006 2:50 pm    Post subject: Where to add /msg hostserv on Reply with quote

This might be a very simple question, I tried to search around, but didn't find the solution, the question is:
I have a vhost but how or where do I add this command to my eggdrop:
/msg hostserv on

I use the chanservneed.tcl for identifying with chanserv
if this has been already answered, I apology for posting this.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 23, 2006 5:08 pm    Post subject: Reply with quote

You can add it here (from your .conf file):
Code:
# 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 +i-ws"
}

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
starpossen
Op


Joined: 10 Jan 2006
Posts: 139

PostPosted: Thu Mar 23, 2006 5:45 pm    Post subject: Reply with quote

Thanks for your reply, so I just put
/msg hostserv on
in that area?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 23, 2006 6:23 pm    Post subject: Reply with quote

Code:
puthelp "PRIVMSG hostserv :on"

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
starpossen
Op


Joined: 10 Jan 2006
Posts: 139

PostPosted: Thu Mar 23, 2006 6:35 pm    Post subject: Reply with quote

Sir_Fz wrote:
You can add it here (from your .conf file):
Code:
# 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 +i-ws"
}


like:
Code:

proc evnt:init_server {type} {
  global botnick
  puthelp "PRIVMSG hostserv :on"
  putquick "MODE $botnick +i-ws"
}

?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 23, 2006 6:54 pm    Post subject: Reply with quote

Try it and see Wink
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
starpossen
Op


Joined: 10 Jan 2006
Posts: 139

PostPosted: Thu Mar 23, 2006 8:22 pm    Post subject: Reply with quote

Hmm.. didnt seem to work.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Mar 24, 2006 6:45 am    Post subject: Reply with quote

Did you .restart your bot after adding the line? If not, then do it. If it still doesn't work then try changing puthelp to putserv or putquick.

Also, do you need to be authenticated with services in order to be allowed to use this command or there's no difference?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
starpossen
Op


Joined: 10 Jan 2006
Posts: 139

PostPosted: Fri Mar 24, 2006 8:03 pm    Post subject: Reply with quote

Well, I use chanservneed.tcl for identifying with nickserv, and that works perfectly.
The bot and me has the same hostmask, and also the same identify, but when I use my bot's nick im my normal irc client the vhost works, I grouped the bot's nick with my identify info, maybe im to tired or missing something, cause I tried both your suggestions, but it still doesnt work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber