I have designed a hub and require scripts for the iplist and a bot for mldonkey users.
Any ideas.
Thanks in advance.
Scripts - IPLIST and ANTI MLDONKEY
Moderator: Moderators
-
BSOD2600
- Forum Moderator
- Posts: 503
- Joined: 2003-01-27 23:47
- Location: USA
looked at the link at the top of the forum?
http://dcplusplus.sourceforge.net/forum ... .php?t=763
http://dcplusplus.sourceforge.net/forum ... .php?t=763
-
stevieiz
- Posts: 5
- Joined: 2003-05-07 21:51
IPLIST and antiMLdonkey
Looked everywhere, ppl using it but cant find the scripts
-
aDe
- Forum Moderator
- Posts: 138
- Joined: 2003-01-07 14:14
- Location: SE
-
ButterflySoul
- Posts: 210
- Joined: 2003-01-23 22:24
- Location: Nevada
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-
ButterflySoul
- Posts: 210
- Joined: 2003-01-23 22:24
- Location: Nevada
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>
Add that Sub to your main script, and call it when it catches <whichever command you want to use to trigger the iplist>
Who is online
Users browsing this forum: Google [Bot] and 0 guests