SHARE
TWEET

Untitled

a guest Jul 17th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on 1:Ban:#: { if ($banmask iswm $address($me,5)) { .mode $chan -b $banmask } }
  2. on *:INPUT:#: {
  3.   if ($1 == .eI) && (!$2) {
  4.     mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  5.   }
  6.   if ($2) && ($1 == .eI) {
  7.     mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  8.   }
  9.   if ($1 == .add) || ($1 == .del) || ($1 == .list) {
  10.     cs access $chan $remove($1,.) $2-
  11.   }
  12.   if ($1 == .add) && ($3 isnum) {
  13.     mode $chan $iif($3 == 3,+v)  $iif($3 == 4,+h-v) $iif($3 isnum 5-9,+o-hv) $iif($3 > 9,+ao-hv) $str($2 $+ $chr(32),5)
  14.   }
  15.   if ($left($1,1) == +) || ($left($1,1) == -) {
  16.     $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
  17.   }
  18.   if ($1 == .inv) {
  19.     invite $2 $chan
  20.   }
  21.   if ($1 == .v) {
  22.     mode $chan +v $2
  23.   }
  24.   if ($1 == .k) {
  25.     kick $chan $2-
  26.   }
  27.   if ($1 == .op) {
  28.     mode $chan +o $2
  29.   }
  30.   if ($1 == /kb) {
  31.     mode $chan +b $address($2,2)
  32.     kick $chan $2 $read(kick.txt)
  33.   }
  34.   if ($1 == .unban) {
  35.     mode $chan -b $2
  36.     mode $chan -b $address($2,2)
  37.     /ban -r $chan $2
  38.   }
  39.   if ($1 == .ban) {
  40.     mode $chan +b $address($2,2)
  41.   }
  42.   if ($1 == .deop) {
  43.     mode $chan -o $2
  44.   }
  45.   if ($1 == .topic) {
  46.     msg $chan The topic is: $chan($chan).topic
  47.   }
  48.   if ($1 == .highlight) {
  49.     msg $chan $2 <-- Highlight
  50.     msg $chan $2 <-- Highlight
  51.     msg $chan $2 <-- Highlight
  52.     msg $chan $2 <-- Highlight
  53.     msg $chan $2 <-- Highlight
  54.   }
  55. }
RAW Paste Data
Top