PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: Northwind on 27 October, 2005, 14:58:30

Title: Non authorized raws
Post by: Northwind on 27 October, 2005, 14:58:30
Is it possible make script what denies raws from users who doesnt have MASTER, OP or VIP status in the hub.

As we could need it because Xar... request spammer raw...
Title:
Post by: Dessamator on 27 October, 2005, 15:21:34
Not very hard, just need a simple script that counts how many raw cmds are sent in a sec, and halts that, ill create one if someone else doesnt do it sooner .

Btw, im not sure, but i think ptokax's deflood stops it, depending on ur settings.
Title:
Post by: bastya_elvtars on 27 October, 2005, 16:41:53
What raw commands do you mean?
Title:
Post by: Northwind on 27 October, 2005, 16:49:14
if is it possible, i mean all

but if only those what we know, atleast this

$To: %[nick] From: %[mynick] $<%[mynick]> your_text_here|
Title:
Post by: bastya_elvtars on 27 October, 2005, 17:04:05
The same command is being sent when you do a real PM.
Title:
Post by: PPK on 27 October, 2005, 18:09:40
QuoteOriginally posted by Northwind
Is it possible make script what denies raws from users who doesnt have MASTER, OP or VIP status in the hub.
No is not possible, raw is normal DC protocol command :P
Title:
Post by: Dessamator on 27 October, 2005, 18:50:46
QuoteOriginally posted by PPK
QuoteOriginally posted by Northwind
Is it possible make script what denies raws from users who doesnt have MASTER, OP or VIP status in the hub.
No is not possible, raw is normal DC protocol command :P

Well, maybe not deny, just limit the amount of same raw messages sent by a user in a certain time.
Title:
Post by: bastya_elvtars on 27 October, 2005, 19:25:14
What do you think deflood is for? :P
Title:
Post by: Dessamator on 27 October, 2005, 19:41:44
QuoteOriginally posted by Dessamator
Btw, im not sure, but i think ptokax's deflood stops it, depending on ur settings.