Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:PART:#: {
- if ($me != DeltaDM && DeltaDM ison $chan) { HALT }
- if ($nick == %p1 [ $+ [ $chan ] ] || $nick == %p2 [ $+ [ $chan ] ]) && (%gwddm [ $+ [ $chan ] ] == $null) {
- $end
- 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.)
- .timer $+ $network $+ $chan off
- .timer $+ $network $+ $chan $+ 2 off
- .timer $+ $network $+ $chan $+ 3 off
- .timer $+ DM $+ $chan off
- .timer $+ DM $+ $chan $+ 2 off
- { HALT }
- }
- else {
- .timer $+ CHECK $+ chan 1 5 notice $me secure checkchan $chan
- { HALT }
- }
- }
- on *:KICK:#: {
- if ($me != DeltaDM && DeltaDM ison $chan) { HALT }
- if ($knick == %p1 [ $+ [ $chan ] ] || $knick == %p2 [ $+ [ $chan ] ]) && (%gwddm [ $+ [ $chan ] ] == $null) {
- $end
- 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.)
- .timer $+ $network $+ $chan off
- .timer $+ $network $+ $chan $+ 2 off
- .timer $+ $network $+ $chan $+ 3 off
- .timer $+ DM $+ $chan off
- .timer $+ DM $+ $chan $+ 2 off
- { HALT }
- }
- if ($knick == $me) {
- ignore -iu300 $iif($address($nick,2),$v1,$nick)
- 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)
- ignore -iu300 $iif($address($nick,2),$v1,$nick)
- set %ki [ $+ [ $chan ] ] 600
- .timer $+ $chan $+ ki 600 1 dec %ki [ $+ [ $chan ] ]
- .timer $+ $chan $+ ki2 1 610 notice DeltaDM secure remove $chan
- }
- else {
- .timer $+ CHECK $+ chan 1 5 notice $me secure checkchan $chan
- { HALT }
- }
- }
- ON *:NOTICE:*:?:{
- if ($nick == $me) && ($1 == secure) && ($2 == checkchan) {
- if ($nick($3,0) < 4) && ($3 != #DeltaDM) && ($3 != #DeltaDM.staff) {
- $end
- 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)
- set %pa [ $+ [ $3 ] ] 600
- part $3 You must have more then 3 people to keep me.
- .timer $+ $3 $+ pa2 600 1 unset %pa [ $+ [ $3 ] ]
- .timer $+ $3 $+ pa2 1 610 notice DeltaDM secure remove $chan
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement