Guest User

Untitled

a guest
Dec 10th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. on ^1:TEXT:*:#: {
  2. if ($len($1-) > 50) teflod $len($1-)
  3. if (%spam.sex == on) { if ($nick !isop $chan) { var %prh = $numtok(%spam.txt,22) | while (%prh > 0) { if ($gettok(%spam.txt,%prh,22) iswm $1-) { halt } | dec %prh } } }
  4. if (%nick@ == on) { var %tma.p = %tma.n2 $+ $left($remove($nick($chan,$nick).pnick,$nick),1) }
  5. var %ni.ck = %tma.n1 $+ %tma.p $+ %tma.n3 $+ $nick $+ %tma.n4 , %ni.an = $calc($len($strip(%ni.ck)) * %tma.tab + 1)
  6. if ($isalias(tma.text)) { $tma.text(-tbfli $+ %ni.an,$chan,$nick,%ni.ck,$1-) } | else { echo -tbfli $+ %ni.an $chan %ni.ck $+  $1- }
  7. halt
  8. }
  9.  
  10. on ^1:TEXT:*:?:{
  11. if ($len($1-) > 50) teflod $len($1-)
  12. if (%spam.jix == on) {
  13. if ($ulevel < 7) {
  14. var %prh = $numtok(%spam.txt,22) | while (%prh > 0) { if ($gettok(%spam.txt,%prh,22) iswm $1-) { if ($nnet != $nnet($site)) { window -c $nick | ignore -pu30 $site | if %spam.log == on write " $+ $logdir $+ SPAM.log" $timestamp $nnet $Nick (msg) : $1- | echo -ste $logo $mg(nospamp) ( $nick > $nexe($left($1-,10)) ..) | halt } } | dec %prh }
  15. }
  16. }
  17. var %ni.ck = %tma.n1 $+ %tma.n3 $+ $nick $+ %tma.n4 , %ni.an = $calc($len($strip(%ni.ck)) * %tma.tab + 1)
  18. if ($isalias(tma.text)) { $tma.text(-tbfli $+ %ni.an,$nick,$nick,%ni.ck,$1-) } | else { echo -tbfli $+ %ni.an $nick %ni.ck $+  $1- }
  19. halt
  20. }
  21.  
  22. on ^1:CHAT:*: {
  23. if (%pflood.d == on) && (%tmp.fsnoflod != on) { inc %dclok | .timerDC 1 10 unset %dclok | if (%dclok > 80) { unset %dclok | close -c $nick | echo -ste $tma(flood,$nick,$address,$mg(dccloq)) | halt } }
  24. if ($strip($1) == PONGdcc) && ( $2 isnum ) { msg =$nick 3Lag =12 $calc($ctime - $2) $mg(seg) | inc %dclok 3 }
  25. if ($strip($1) == PINGdcc) && ( $2 isnum ) { msg =$nick 3PONG0,0dcc $2 | inc %dclok 3 }
  26. if ($1- == [\]) && (%viserv == on) { inc %dclok 5 | ja liserv $nick }
  27.  
  28. if $gettok($1-,1,32) == ACTION { echo $colour(action) -tq =$nick $tma(action,$nick,$remove($gettok($1-,2-99,32),)) | halt }
  29. var %ni.ck = %tma.n1 $+ %tma.n3 $+ $nick $+ %tma.n4 , %ni.an = $calc($len($strip(%ni.ck)) * %tma.tab + 1)
  30. if ($isalias(tma.text)) { $tma.text(-tbfli $+ %ni.an,=$nick,$nick,%ni.ck,$1-) } | else { echo -tbfli $+ %ni.an =$nick %ni.ck $+  $1- }
  31. halt
  32. }
  33. on 1:SERV:*: if (%pflood.d == on) { inc %dclok 5 | .timerDC 1 10 unset %dclok | if (%dclok > 80) { unset %dclok | close -f $nick | echo -se $tma(flood,$nick,$address,$mg(dccloq)) | halt } }
  34.  
  35. #hablo on
  36. on *:input:#: if ($left($1,1) != /) { escribiendo $active $1- | halt } | else decoprot $1-
  37. on *:input:?: if ($left($1,1) != /) { escribiendo $active $1- | halt } | else decoprot $1-
  38. on *:input:=: if ($left($1,1) != /) { escribiendo $active $1- | halt } | else decoprot $1-
  39. on *:input:!: if ($left($1,1) != /) { escribiendo $active $1- | halt } | else decoprot $1-
  40. #hablo end
  41. on *:input:*: if ($left($1,1) == /) decoprot $1-
  42.  
  43. alias ESCRIBIENDO {
  44. if ($2- == $null) { return }
  45. %mi^frase = $2-
  46. if (!$ctrlenter) {
  47. mod^ncomp $2-
  48. mod^correc $2-
  49. mod^conv $2-
  50. mod^crip $2-
  51. mod^ascii
  52. .signal -n MODOESCRITURA $2-
  53. }
  54. if (%frase^halt != on) {
  55. .msg $active %nick^comp %mi^frase | var %a = $mi^nick , %ni.an = $calc($len($strip(%a)) * %tma.tab + 1)
  56. if ($isalias(tma.say)) { $tma.say(%ni.an,$active,%a,%nick^comp,%mi^frase) }
  57. else { echo $color(own) -tli $+ %ni.an $active %a %nick^comp %mi^frase }
  58. }
  59. unset %mi^frase %nick^comp %frase^halt
  60. }
Add Comment
Please, Sign In to add comment