Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. on *:snotice:*: {
  2. var %jeun = $1-
  3. if $regex(%jeun,/(G:Line|Z:Line|K:Line|Global Z:line|Shun) added for \*@(.+) on (.+) GMT \(from ((.+).mircturk.com) to expire at (.+) (.+): (.+)\)/i) {
  4. write baninfo.txt IP: $regml(2) Ban Türü: $regml(1) Banlayan: $regml(4) Kalan süre: $ctime($regml(6) $regml(7)) Sebep: $regml(8)
  5. }
  6. if $regex(%jeun,/(.+) removed (Shun|Z:Line|G:Line|K:Line|Global Z:Line) \*@(.+) (.)set /i)} && $read(baninfo.txt,s,IP: $regml(3)) { write $+(-dl,$readn) baninfo.txt }
  7. if $regex(%jeun,/Expiring (Shun|Z:Line|G:Line|K:Line|Global Z:Line) (.)\*@(.+)(.) made by/i) && $read(baninfo.txt,s,IP: $regml(3)) { write $+(-dl,$readn) baninfo.txt }
  8. }
  9. raw *:*: {
  10. if $numeric == 223 || $numeric == 216 {
  11. var %turc $2-
  12. if $regex(%turc,/^(G|S|Z|K) \*@(.+) (\d+) (\d+) ((.+)mircturk.com) (.+)/i) { write baninfo.txt IP: $regml(2) Ban Türü: $replace($regml(1),S,Shun,K,K:Line,G,G:Line,Z,Z:Line) Banlayan: $regml(5) Kalan süre: $calc($regml(3) + $ctime) Sebep: $regml(7) }
  13. }
  14. }
  15.  
  16. on *:text:*:#Caeo:{
  17. if $1 == !ip && $2 {
  18. if $regex($read(baninfo.txt,w,IP: $2 $+ *),/IP: (.+) Ban Türü: (.+) Banlayan: ((.+).mircturk.com) Kalan süre: (.+) Sebep: (.+)/i) {
  19. var %z = msg #
  20. %z 2IP: $regml(1)
  21. %z 2Ban Türü: $regml(2)
  22. %z 2Banlayan: $regml(3)
  23. var %p = $duration($calc(($regml(5) - $ctime)-28800),3)
  24. %z 2Kalan Süre: $gettok(%p,1,58) $+ Saat $gettok(%p,2,58) $+ Dakika
  25. %z 2Sebep: $regml(6)
  26. }
  27. if $1 == !ip && !$2 { msg # Komutu dogru kullan.!ip IP No }
  28. if !$read(baninfo.txt,w,IP: $2 $+ *) { msg # Aradığınız IP Adresine ilişkin ban sonucu bulunamadı. }
  29. }
  30. if $1 == !banac && $2 {
  31. if $regex($read(baninfo.txt,w,IP: $2 $+ *),/IP: (.+) Ban Türü: (.+) Banlayan: (.+) Kalan süre: (.+) Sebep: (.+)/i) {
  32. write $+(-dl,$readn) baninfo.txt
  33. var %a = $replace($remove($regml(2),:),Global Z:Line,gzline)
  34. %a -*@ $+ $2
  35. msg # $2 adresine ait  %a  kaldırılmıştır.14( 4 $nick  )
  36. }
  37. }
  38. }
  39. on *:quit:{ if $nick == $me { write -c baninfo.txt } }
  40. on *:disconnect:/write -c baninfo.txt
  41. on *:connect:{ if $server == irc.mircturk.com { shun | gline | kline | zline } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement