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.

botnet

Old posts that have not been replied to for several years.
User avatar
K
Voice
Posts: 34
Joined: Wed Jan 28, 2004 7:31 pm
Location: Romania @sibiu
Contact:

botnet

Post by K »

Somebody have a tcl script that does pub command for botnet like:

Code: Select all

!botnet <whom|bots[linked|unliked]|chat|link|unlink[bot]> 

!botnet whom = show all users from party line
!botnet bots = show all bots
!botnet bots linked = show all bots linked
!botnet bots unlined = show all bots unlinked
!botnet chat = the bot tray to dcc chat with you
!botnet link [bot] = will tray to  link to that bot
!botnet unlink [bot] = will tray to unlik from the bot
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Have you looked at slennox' netbot script?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

ok

Post by Kurupt »

that should be public commands. and netbots don't have public commands or ?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The netbots script has a raft of commands via DCC Chat
.nethelp
A search of the TCL Archive might reveal more. :P
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

Post by Kurupt »

i have search all databases: http://bseen.eggheads.org/ http://mc.purehype.net/ http://egghelp.org/tcl.htm and http://www.tclscript.com/ for eggdrop scripts.

no script with that ability
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Most of those commands is like 1 or 2 lines of code, so by reading tcl-commands.doc and browsing this forum you shold be able to make this in minutes.
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

i could

Post by Kurupt »

i could read the tcl-commands but i have no time the browse the forum. i don;t have a permanent connection so if you have free time you could paste the links and i will read when i will be online.
thanks
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

We dont have time to help ppl that don't make an effort, and just expect others to fix their problem.
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

ok

Post by Kurupt »

ok . i say of you have time.do i have say you to fix my problem. i never expected that someone to do the script just to give me the information what i will need to do it. but i see some people are like you gb. no offence
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

From tcl-commands.doc

The information you need to do a 'whom':

Code: Select all

  whom <chan>
    Returns: list of people on the botnet who are on that channel. 0 is  
      the default party line. Each item in the list is a sublist with six
      elements: nickname, bot, hostname, access flag ('-', '@', '+', or
      '*'), minutes idle, and away message (blank if the user is not away).
      If you specify * for channel, every user on the botnet is returned
      with an extra argument indicating the channel the user is on.
The information you need to find linked and unlinked bots:

Code: Select all

  botlist
    Returns: a list of bots currently on the botnet. Each item in the list
      is a sublist with four elements: bot, uplink, version, sharing status:
        bot:     the bot's botnetnick
        uplink:  the bot the bot is connected to
        version: its current numeric version
        sharing: a "+" if the bot is a sharebot; "-" otherwise
The information you need to link a bot:

Code: Select all

  link [via-bot] <bot>    
    Description: attempts to link to another bot directly. If you specify
      a via-bot, it tells the via-bot to attempt the link.
    Returns: 1 if the link will be attempted; 0 otherwise
The information you need to unlink a bot:

Code: Select all

  unlink <bot>
    Description: attempts to unlink a bot from the botnet
    Returns: 1 on success; 0 otherwise
How to make the bot send out a dcc chat request:
*Click*

And finally, this is how you make a public trigger:

Code: Select all

bind pub -|- !trigger pub:procname

proc pub:procname {nick uhost hand chan text} {
 # Your code goes here
}
Now that wasn't so hard, was it. Took like 30sec to look that up in tcl-commands.doc, and another 10sec searching the forum.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

No need of a "permanent" connection to browse or read anything. This attitude of "Why should I, I'll find a sucker that will save me the trouble because I am too lazy to even try." is really annoying and boring.
i could read the tcl-commands but i have no time the browse the forum
tcl-commands.doc is in the ~doc folder of your eggdrop folder. Chance would be a good thing if you even bothered to look in there.

A variation on a very old (and true) saying: "We help those that help themselves." :wink:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

hei

Post by Kurupt »

i sad no timt to check the forum database not to read the tcl-commands.doc . i never say that i whant that somebody do the script i just requestet a little help
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

gb wrote:From tcl-commands.doc

The information you need to do a 'whom':

Code: Select all

  whom <chan>
    Returns: list of people on the botnet who are on that channel. 0 is  
      the default party line. Each item in the list is a sublist with six
      elements: nickname, bot, hostname, access flag ('-', '@', '+', or
      '*'), minutes idle, and away message (blank if the user is not away).
      If you specify * for channel, every user on the botnet is returned
      with an extra argument indicating the channel the user is on.
The information you need to find linked and unlinked bots:

Code: Select all

  botlist
    Returns: a list of bots currently on the botnet. Each item in the list
      is a sublist with four elements: bot, uplink, version, sharing status:
        bot:     the bot's botnetnick
        uplink:  the bot the bot is connected to
        version: its current numeric version
        sharing: a "+" if the bot is a sharebot; "-" otherwise
The information you need to link a bot:

Code: Select all

  link [via-bot] <bot>    
    Description: attempts to link to another bot directly. If you specify
      a via-bot, it tells the via-bot to attempt the link.
    Returns: 1 if the link will be attempted; 0 otherwise
The information you need to unlink a bot:

Code: Select all

  unlink <bot>
    Description: attempts to unlink a bot from the botnet
    Returns: 1 on success; 0 otherwise
How to make the bot send out a dcc chat request:
*Click*

And finally, this is how you make a public trigger:

Code: Select all

bind pub -|- !trigger pub:procname

proc pub:procname {nick uhost hand chan text} {
 # Your code goes here
}
Now that wasn't so hard, was it. Took like 30sec to look that up in tcl-commands.doc, and another 10sec searching the forum.
Ok now we got all the information we need need Kurupt, thanks to gb. Shall we still ask how to make the script? :wink:

*gb* How will we make this script now? :mrgreen:
Note: You have been helped.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

funny

Post by Kurupt »

that is nice awyeah. thanks
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

He quoted my post you moron.
Locked