Advertisement
Guest User

Untitled

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