Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. on *:PART:#: {
  2. if ($me != DeltaDM && DeltaDM ison $chan) { HALT }
  3. if ($nick == %p1 [ $+ [ $chan ] ] || $nick == %p2 [ $+ [ $chan ] ]) && (%gwddm [ $+ [ $chan ] ] == $null) {
  4. $end
  5. msg $chan $c2($nick,$chr(40)) $+ $c0($nick,DM) $+ $c2($nick,$chr(41)) $c0($nick,DM has ended due to) $c1($nick,$nick) $c0($nick,leaving the channel.)
  6. .timer $+ $network $+ $chan off
  7. .timer $+ $network $+ $chan $+ 2 off
  8. .timer $+ $network $+ $chan $+ 3 off
  9. .timer $+ DM $+ $chan off
  10. .timer $+ DM $+ $chan $+ 2 off
  11. { HALT }
  12. }
  13. else {
  14. .timer $+ CHECK $+ chan 1 5 notice $me secure checkchan $chan
  15. { HALT }
  16. }
  17. }
  18. on *:KICK:#: {
  19. if ($me != DeltaDM && DeltaDM ison $chan) { HALT }
  20. if ($knick == %p1 [ $+ [ $chan ] ] || $knick == %p2 [ $+ [ $chan ] ]) && (%gwddm [ $+ [ $chan ] ] == $null) {
  21. $end
  22. msg $chan $c2($nick,$chr(40)) $+ $c0($nick,DM) $+ $c2($nick,$chr(41)) $c0($nick,DM has ended due to) $c1($nick,$nick) $c0($nick,being kicked from the channel.)
  23. .timer $+ $network $+ $chan off
  24. .timer $+ $network $+ $chan $+ 2 off
  25. .timer $+ $network $+ $chan $+ 3 off
  26. .timer $+ DM $+ $chan off
  27. .timer $+ DM $+ $chan $+ 2 off
  28. { HALT }
  29. }
  30. if ($knick == $me) {
  31. ignore -iu300 $iif($address($nick,2),$v1,$nick)
  32. msg #DeltaDM.staff $c2($nick,$chr(40)) $+ $c0($nick,KICKED) $+ $c2($nick,$chr(41)) $c1($nick,$nick) $c0($nick,has kicked) $c1($nick,$me) $c0($nick,in channel) $c1($nick,$chan)
  33. ignore -iu300 $iif($address($nick,2),$v1,$nick)
  34. set %ki [ $+ [ $chan ] ] 600
  35. .timer $+ $chan $+ ki 600 1 dec %ki [ $+ [ $chan ] ]
  36. .timer $+ $chan $+ ki2 1 610 notice DeltaDM secure remove $chan
  37. }
  38. else {
  39. .timer $+ CHECK $+ chan 1 5 notice $me secure checkchan $chan
  40. { HALT }
  41. }
  42. }
  43.  
  44. ON *:NOTICE:*:?:{
  45. if ($nick == $me) && ($1 == secure) && ($2 == checkchan) {
  46. if ($nick($3,0) < 4) && ($3 != #DeltaDM) && ($3 != #DeltaDM.staff) {
  47. $end
  48. msg #DeltaDM.staff $c2($nick,$chr(40)) $+ $c0($nick,PART) $+ $c2($nick,$chr(41)) $c1($nick,Low user count) $c0($nick,has automaticly parted) $c1($nick,$me) $c0($nick,in channel) $c1($nick,$3)
  49. set %pa [ $+ [ $3 ] ] 600
  50. part $3 You must have more then 3 people to keep me.
  51. .timer $+ $3 $+ pa2 600 1 unset %pa [ $+ [ $3 ] ]
  52. .timer $+ $3 $+ pa2 1 610 notice DeltaDM secure remove $chan
  53. }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement