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 

hubot connect

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sun Feb 04, 2007 12:19 am    Post subject: hubot connect Reply with quote

hi

i need code for say in specific channel inf hub bot
Code:

[u]Telnet[/u]

Ping timeout: bot (lost 1 bot and 0 users)
- «22:30:44» - <(bot> [22:30] Connexion telnet: 123.123.123.com/4000
- «22:30:58» - <(bot> [22:30] Timeout/EOF ident connection
- «22:30:59» - <(bot> [22:30] Challenging bot2...
- «22:30:59» - <(bot> [22:30] Relié à bot2.
- «22:30:59» - <(bot> *** Linked to bot2


i need say #private.chan all info Hubot thx
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Feb 04, 2007 3:55 am    Post subject: Reply with quote

Code:
set msgchan #yourchannel
bind link - * foo
bind disc - * foo
proc foo {args} {
   set bot [lindex $args 0]
   set via [lindex $args 1]
   if {$via != ""} {set t "$bot has linked via $via"} {set t "$bot delinked"}
   puthelp "privmsg $::msgchan :$t"
}

If I am translating correctly then you need this code (I found somewhere on the forums from memory).
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
mavericku
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: somewhere in the world

PostPosted: Wed Feb 07, 2007 4:24 pm    Post subject: Reply with quote

Alchera

i used that script and it turns out that the bot simply confuses the link bot with normal users..

here is what i mean.

Code:
(11:30:24) (@|Arbiter): Wizzard delinked
(11:30:46) (@|Arbiter): Wizzard has linked via hubby


that was normal behaviour.

here is what i don't understand.


Code:
(11:18:46) (@|Arbiter): Smoke` has linked via Smoke@Kuzia.users.undernet.org

(11:42:00) (@|Arbiter): Dj_Livio has linked via ~Livio@LivioDj.users.undernet.org


The hub and all bots has PASSWORDS ON CONNECT so i don't think it is a takeover or some sh** like that.

Can someone EXPLAIN? ...

Thanks
LE: oh, and those users that he confuses are not in the userlist ... and are just banned for nasty behaviour
_________________
mavericku
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Feb 07, 2007 7:51 pm    Post subject: Reply with quote

I use that script and it doesn't confuse a normal user with a linked bot at all. The behaviour you describe I have yet to see.

These events are being seen where exactly?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM


Last edited by Alchera on Wed Feb 07, 2007 9:48 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
mavericku
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: somewhere in the world

PostPosted: Wed Feb 07, 2007 9:27 pm    Post subject: Reply with quote

On a backchan but in partyline there is nothing, after i saw that 2 "linked bots" i stopped the script.
_________________
mavericku
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Feb 08, 2007 12:20 pm    Post subject: Reply with quote

Possible there is a join-binding that calls the same proc?
(Hint: check with .binds join all)
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Thu Feb 08, 2007 6:14 pm    Post subject: Reply with quote

Alchera wrote:
Code:
set msgchan #yourchannel
bind link - * foo
bind disc - * foo
proc foo {args} {
   set bot [lindex $args 0]
   set via [lindex $args 1]
   if {$via != ""} {set t "$bot has linked via $via"} {set t "$bot delinked"}
   puthelp "privmsg $::msgchan :$t"
}

If I am translating correctly then you need this code (I found somewhere on the forums from memory).


thx alchera for me is good Smile
Back to top
View user's profile Send private message
mavericku
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: somewhere in the world

PostPosted: Mon Feb 12, 2007 1:58 am    Post subject: Reply with quote

oh, that was it ...
i have the join/flood proc alchera made for somebody else and it has *foo Smile)

Thanks.
_________________
mavericku
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Feb 12, 2007 2:11 am    Post subject: Reply with quote

mavericku wrote:
oh, that was it ...
i have the join/flood proc alchera made for somebody else and it has *foo Smile)

Thanks.

Laughing Just do some name changing and a "little" restart.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
mavericku
Halfop


Joined: 12 Jun 2005
Posts: 62
Location: somewhere in the world

PostPosted: Tue Feb 27, 2007 9:35 am    Post subject: Reply with quote

Did that, working great.

Very Happy
_________________
mavericku
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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