Scripts - IPLIST and ANTI MLDONKEY

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
stevieiz
Posts: 5
Joined: 2003-05-07 16:51

Scripts - IPLIST and ANTI MLDONKEY

Post by stevieiz » 2003-05-07 17:04

I have designed a hub and require scripts for the iplist and a bot for mldonkey users.

Any ideas.
Thanks in advance.

BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 18:47
Location: USA
Contact:

Post by BSOD2600 » 2003-05-07 17:39

looked at the link at the top of the forum?
http://dcplusplus.sourceforge.net/forum ... .php?t=763

stevieiz
Posts: 5
Joined: 2003-05-07 16:51

IPLIST and antiMLdonkey

Post by stevieiz » 2003-05-08 16:29

Looked everywhere, ppl using it but cant find the scripts

aDe
Forum Moderator
Posts: 138
Joined: 2003-01-07 09:14
Location: SE
Contact:

Post by aDe » 2003-05-08 16:55

hmm I don't know what you mean by IPLIST.. but try here;

http://dc.ade.se/tools

stevieiz
Posts: 5
Joined: 2003-05-07 16:51

IPLIST

Post by stevieiz » 2003-05-09 06:28

It is a command that you type in to list all current users with thier IP list beside them

ButterflySoul
Posts: 210
Joined: 2003-01-23 17:24
Location: Nevada
Contact:

Post by ButterflySoul » 2003-05-09 07:06

Something like that ? :

Code: Select all

Sub IPList(objOP)
   Dim objUser, sMsg, x
   sMsg = colUsers.Count() &" users connected :" &vbCrLf
   For Each objUser in colUsers
      x = x+1
      sMsg = sMsg &x &") " &objUser.sName &" / IP : " &objUser.IP() &vbCrLf
      If x Mod 75 = 0 Then frmHub.DoEventsForMe
   Next
   objOP.PrivateMessage "IPLister", cstr(sMsg)
End Sub
[CoZ] Children of Zeus
-----
Shadows DC Hub - VBS and JS scripting at their best

stevieiz
Posts: 5
Joined: 2003-05-07 16:51

IPLISt

Post by stevieiz » 2003-05-10 14:00

How does one activate that script from the main window of DC++

ButterflySoul
Posts: 210
Joined: 2003-01-23 17:24
Location: Nevada
Contact:

Post by ButterflySoul » 2003-05-10 22:31

errr.. It's not a standalone script, but a sub to plug to your main script. You probably already have a script handling bans commands, user info, etc, so it would be a terrible waste to have one script scan all incoming data for all your other commands, while a second script scan all incoming data just for IPList.
Add that Sub to your main script, and call it when it catches <whichever command you want to use to trigger the iplist>
[CoZ] Children of Zeus
-----
Shadows DC Hub - VBS and JS scripting at their best

stevieiz
Posts: 5
Joined: 2003-05-07 16:51

IPLISt

Post by stevieiz » 2003-05-11 05:05

Where about in the script do you put the line that calls the script

Locked