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 

ctcp version reply

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


Joined: 04 Nov 2006
Posts: 2

PostPosted: Sat Nov 04, 2006 1:45 pm    Post subject: ctcp version reply Reply with quote

probably a smiple thing, but how do i get my bot to send out a different reply to a ctcp version request.

i've search the site and the forums and google'd but not found nothing.

can anyone help. ta.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Nov 04, 2006 1:58 pm    Post subject: Reply with quote

Actually, if you read very carefully in the distribution config file, you'll find this:

Quote:
loadmodule ctcp

# Set here how the ctcp module should answer ctcps. There are 3 possible
# operating modes:
# 0: Normal behavior is used.
# 1: The bot ignores all ctcps, except for CHAT and PING requests
# by users with the +o flag.
# 2: Normal behavior is used, however the bot will not answer more
# than X ctcps in Y seconds (defined by 'set flood-ctcp').
set ctcp-mode 0

# There are also several variables to help make your bot less noticeable.
# They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set
# them to values you'd like.


So, just set ctcp-version to whatever you wish your bot to respond with
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
bru
Voice


Joined: 04 Nov 2006
Posts: 2

PostPosted: Sat Nov 04, 2006 4:24 pm    Post subject: Reply with quote

ahh
prolly the only place i didnt look.

thanks for your help.
Back to top
View user's profile Send private message
chandra Sha
Voice


Joined: 31 Oct 2006
Posts: 12
Location: South Borneo

PostPosted: Tue Nov 07, 2006 6:44 am    Post subject: Reply with quote

Just Search on TCL Arcive, Keyword: CTCP Version
Basic script makes the bot send a random reply to CTCP VERSIONs it receives
Back to top
View user's profile Send private message Yahoo Messenger
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