Scripts - IPLIST and ANTI MLDONKEY
Moderator: Moderators
Scripts - IPLIST and ANTI MLDONKEY
I have designed a hub and require scripts for the iplist and a bot for mldonkey users.
Any ideas.
Thanks in advance.
Any ideas.
Thanks in advance.
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
IPLIST and antiMLdonkey
Looked everywhere, ppl using it but cant find the scripts
-
- Posts: 210
- Joined: 2003-01-23 17:24
- Location: Nevada
- Contact:
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
-
- Posts: 210
- Joined: 2003-01-23 17:24
- Location: Nevada
- Contact:
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>