odc/dc++ only

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
Fight
Posts: 2
Joined: 2003-07-23 06:59
Location: USA

odc/dc++ only

Post by Fight » 2003-07-23 07:04

Hello!
This script bans the nmdc client, but it only allow dc++ not odc!
I thought that 0dc and dc++ had same tags?
How Do I Do so the scrip welcomes 0dc to?

Heres the script!

Sub DataArival (curUser, sCurData)

If Not curUser.bOperator Then
if InStr(1,sDCI,"<++ V:") > 1 Then
Else
curUser.SendData "<-bot-> NMDC Clients Is Not Allowed In This Hub!" & vbCrLf & "Go to www.dcplusplus.com And Download Dc++!"
frmHub.DoEventsForMe
curUser.Disconnect
End if
End if
End sub

//greetings Fight!

cyberal
Posts: 360
Joined: 2003-05-16 05:42

Post by cyberal » 2003-07-23 07:30

oDCs description tag do contain the DC++ tag too, should work fine.. but does it work with newest DC++ now when the tag has it's own column?
http://whyrar.omfg.se - Guide to RAR and DC behaviour!
http://bodstrom.omfg.se - Bodströmsamhället, Länksamling om hoten mot vår personliga integritet

cyberal
Posts: 360
Joined: 2003-05-16 05:42

Post by cyberal » 2003-07-23 07:32

btw. should say "NMDC Clients are not allowed" or even better "Only DC++ and oDC are allowed"
http://whyrar.omfg.se - Guide to RAR and DC behaviour!
http://bodstrom.omfg.se - Bodströmsamhället, Länksamling om hoten mot vår personliga integritet

Fight
Posts: 2
Joined: 2003-07-23 06:59
Location: USA

Post by Fight » 2003-07-23 07:54

I tried with the dc++ 2.61 the newest version!
the script dont work, it dont allow odc or dc++!!
where can I found a script in vb that allow odc and dc++ only??
or modifie this script!!

Thank you cyberal

//greetings!!

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-07-23 14:07

cyberal wrote:oDCs description tag do contain the DC++ tag too, should work fine.. but does it work with newest DC++ now when the tag has it's own column?
That's purely graphical eyecandy. Tags are sent the same way in 0.261 as in 0.251. - $MyINFO as part of the description field.

By the way, you really should link to http://dcplusplus.sourceforge.net - dcplusplus.com isn't technically under Arne's control.

ender
Posts: 224
Joined: 2003-01-03 17:47

Post by ender » 2003-07-23 14:43

What about people using other clients?

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-07-23 16:08

ender wrote:What about people using other clients?
Oh, you mean the non-blue eyed, blond haired supermen (and women)?

cyberal
Posts: 360
Joined: 2003-05-16 05:42

Post by cyberal » 2003-07-24 00:58

GargoyleMT wrote:That's purely graphical eyecandy. Tags are sent the same way in 0.261 as in 0.251. - $MyINFO as part of the description field.
AARRGHH! Me knows this. Me is tired! :(
http://whyrar.omfg.se - Guide to RAR and DC behaviour!
http://bodstrom.omfg.se - Bodströmsamhället, Länksamling om hoten mot vår personliga integritet

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-07-24 10:44

We're all human, and have made mistakes on the board, cyberal :)

Locked