Konu: ses addonu
Tekil Mesaj gösterimi
Alt 21 Ağustos 2015, 00:13   #7
Çevrimdışı
KuL
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
Cevap: ses addonu




elhale Nickli Üyeden Alıntı
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
merhaba...

How can we modify this script?

I want to triger an action...

When 3 or 4 Z:Lines are added in 3 seconds (because it means there is an attack) i want to automatically activate the "Srjn bot" in a channel for 5 minutes (or more) by saying in the channel !proxy on and then after 5 min saying !proxy off

for example

on ^*:snotice:*: {
if ($2 == Z:line) && ($3 == added) {
splay zline.mp3 | /say #test1 !proxy on | /timer 1 300 /say #test1 proxy off | halt
}
}

but for 3-4 ZLines (or Akill) in 3 seconds


Merhaba @[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

for your issue you can use the event code from @[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] . (Second message on this topic)

And combine it with a flood protection, that use the same method.

If somebody is flooding your channel, you must also set time limit and message limit for your flood protection.

Now here is the code, which hopefully helps you.

Kod:   Kodu kopyalamak için üzerine çift tıklayın!
on $*:snotice:/(Permanent\s((G|K)(lobal\sz|:)Line|Shun)\sadded|added\san\sAKILL\sfor)/i: { if %attack == $null { set -u3 %attack 1 return } else { inc %attack } if %attack > 3 && %stop == $null) { set -u300 %stop 1 msg #channel !proxy on timer 1 300 msg #channel !proxy off } }

The blue one is the time (3 seconds), and the red one is your message limit (I mean the limit of youre action notices Zline, Akill, Gline, ...)


Have a nice day.

 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları sohbet bizimmekan