SHARE
TWEET

New INPUT

Crysys Sep 23rd, 2019 (edited) 140 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on *:input:*: {
  2.   if ($window($active).type == channel) {
  3.     if ($ctrlenter) || (/ != $left($1-,1)) {
  4.       if (%color == on)  {
  5.         .privmsg $active $iif($left($1-,1) isnum,%colors $1-,%colors $+ $1-)
  6.         echo $chan $timestamp 0( $+ $modz $+ 11 $+ $nick $+ 0) $iif($left($1-,1) isnum,%colors $1-,%colors $+ $1-)
  7.         halt
  8.       }
  9.       else {
  10.         .privmsg $active $1-
  11.         echo $chan $timestamp 0( $+ $modz $+ 11 $+ $nick $+ 0) $1-
  12.         halt
  13.       }
  14.     }
  15.   }
  16.   if ($window($active).type == query) {
  17.     if ($ctrlenter) || (/ != $left($1-,1)) {
  18.       if (%color == on)  {
  19.         .privmsg $active $iif($left($1-,1) isnum,%colors $1-,%colors $+ $1-)
  20.         echo $active $timestamp 0( $+ 11 $+ $nick $+ 0) $iif($left($1-,1) isnum,%colors $1-,%colors $+ $1-)
  21.         halt
  22.       }
  23.       else {
  24.         .privmsg $active $1-
  25.         echo $active $timestamp 0( $+ 11 $+ $nick $+ 0) $1-
  26.         halt
  27.       }
  28.     }
  29.   }
  30.   if ($window($active).type == chat) {
  31.     if ($ctrlenter) || (/ != $left($1-,1)) {
  32.       .msg $active $1-
  33.       echo $active $timestamp 0( $+ 11 $+ $nick $+ 0) $1-
  34.       halt
  35.     }
  36.   }
  37.   if ($window($active).type == custom) {
  38.     if (%acommand == on) {
  39.       if ($window($active).sbtext == NickServ) {
  40.         msg nickserv $strip($1-)
  41.       }
  42.       if ($window($active).sbtext == ChanServ) {
  43.         msg chanserv $strip($1-)
  44.       }
  45.       if ($window($active).sbtext == BotServ) {
  46.         msg botserv $strip($1-)
  47.       }
  48.       if ($window($active).sbtext == HostServ) {
  49.         msg hostserv $strip($1-)
  50.       }
  51.       if ($window($active).sbtext == OperServ) {
  52.         msg operserv $strip($1-)
  53.       }
  54.       if ($window($active).sbtext == MemoServ) {
  55.         msg memoserv $strip($1-)
  56.       }
  57.     }
  58.     else {
  59.       return
  60.     }
  61.   }
  62.   else {
  63.     if ($1 == /msg) {
  64.       if ($2 == nickserv) && (!$window(@NickServ)) { .window -e0k0ni @NickServ }
  65.       if ($2 == chanserv) && (!$window(@ChanServ)) { .window -e0k0ni @ChanServ }
  66.       if ($2 == botserv) && (!$window(@BotServ)) { .window -e0k0ni @BotServ }
  67.       if ($2 == hostserv) && (!$window(@HostServ)) { .window -e0k0ni @HostServ }
  68.       if ($2 == operserv) && (!$window(@OperServ)) { .window -e0k0ni @OperServ }
  69.       if ($2 == memoserv) && (!$window(@MemoServ)) { .window -e0k0ni @MemoServ }
  70.     }
  71.   }
  72. }
  73.  
  74. on ^*:notice:*:?: {
  75.   if ($nick == NickServ) {
  76.     if (!$window(@NickServ)) { .window -e0k0ni @NickServ | echo $window(@NickServ) $timestamp $nick 4 $+ $1- | haltdef }
  77.     else { echo $window(@NickServ) $timestamp $nick 4 $+ $1- | haltdef }
  78.   }
  79.   if ($nick == ChanServ) {
  80.     if (!$window(@ChanServ)) { .window -e0k0ni @ChanServ | echo $window(@ChanServ) $timestamp $nick 4 $+ $1- | haltdef }
  81.     else { echo $window(@ChanServ) $timestamp $nick 4 $+ $1- | haltdef }
  82.   }
  83.   if ($nick == BotServ) {
  84.     if (!$window(@BotServ)) { .window -e0k0ni @BotServ | echo $window(@BotServ) $timestamp $nick 4 $+ $1- | haltdef }
  85.     else { echo $window(@BotServ) $timestamp $nick 4 $+ $1- | haltdef }
  86.   }
  87.   if ($nick == HostServ) {
  88.     if (!$window(@HostServ)) { .window -e0k0ni @HostServ | echo $window(@HostServ) $timestamp $nick 4 $+ $1- | haltdef }
  89.     else { echo $window(@HostServ) $timestamp $nick 4 $+ $1- | haltdef }
  90.   }
  91.   if ($nick == OperServ) {
  92.     if (!$window(@OperServ)) { .window -e0k0ni @OperServ | echo $window(@OperServ) $timestamp $nick 4 $+ $1- | haltdef }
  93.     else { echo $window(@OperServ) $timestamp $nick 4 $+ $1- | haltdef }
  94.   }
  95.   if ($nick == MemoServ) {
  96.     if (!$window(@MemoServ)) { .window -e0k0ni @MemoServ | echo $window(@MemoServ) $timestamp $nick 4 $+ $1- | haltdef }
  97.     else { echo $window(@MemoServ) $timestamp $nick 4 $+ $1- | haltdef }
  98.   }
  99. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top