| View previous topic :: View next topic |
| Author |
Message |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sun Feb 04, 2007 12:19 am Post subject: hubot connect |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Feb 04, 2007 3:55 am Post subject: |
|
|
| 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 |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Wed Feb 07, 2007 4:24 pm Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Feb 07, 2007 7:51 pm Post subject: |
|
|
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 |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Wed Feb 07, 2007 9:27 pm Post subject: |
|
|
On a backchan but in partyline there is nothing, after i saw that 2 "linked bots" i stopped the script. _________________ mavericku |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Feb 08, 2007 12:20 pm Post subject: |
|
|
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 |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Thu Feb 08, 2007 6:14 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Mon Feb 12, 2007 1:58 am Post subject: |
|
|
oh, that was it ...
i have the join/flood proc alchera made for somebody else and it has *foo )
Thanks. _________________ mavericku |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Feb 12, 2007 2:11 am Post subject: |
|
|
| mavericku wrote: | oh, that was it ...
i have the join/flood proc alchera made for somebody else and it has *foo )
Thanks. |
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 |
|
 |
mavericku Halfop

Joined: 12 Jun 2005 Posts: 62 Location: somewhere in the world
|
Posted: Tue Feb 27, 2007 9:35 am Post subject: |
|
|
Did that, working great.
 _________________ mavericku |
|
| Back to top |
|
 |
|