Advertisement
westor

Highlight edit for Mr_Me v7.0

Jan 18th, 2015
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 5.28 KB | None | 0 0
  1. menu status,channel {
  2.   $iif(%trollmode == on,AvoidSlap)
  3.   .$iif(%avoidslap == on,$style(1)) ON : set %avoidslap on | echo -ag 4[ 8System 4] AvoidSlap is: ON . Let's Kick Some Ass...
  4.   .$iif(%avoidslap == off,$style(1)) OFF : set %avoidslap off | echo -ag 4[ 8System 4] Avoid Slap is: OFF. Keep Calm...
  5. }
  6.  
  7. ON ^*:ACTION:*:#: {
  8.   if ($me isin $strip($1-)) {
  9.     var %n = $nick($chan,$nick).pnick
  10.     echo $color(action) -phtm $chan * $iif($nick isnotify,$chr(3) $+ $color(notify) $+ %n $+ ,%n) $replace($1-,$me,$+($chr(3),$color(highlight),$me,$chr(3),$color(action)))
  11.     if (*slap* iswm $1-) && (%avoidslap == on) {
  12.       inc %anti
  13.       describe $chan Dodges and $read(AvoidSlap.txt) $+([ %anti, : People have been avoided and slapped back!, ])
  14.     }
  15.     if (*fap* iswm $strip($1-)) && (%avoidslap == on) {
  16.       inc %anti
  17.       describe $chan Dodges and $read(AvoidSlap.txt) $+([ %anti, : People have been avoided and fapped back!, ])
  18.     }
  19.     if (*xouft* iswm $strip($1-)) && (%avoidslap == on) {
  20.       inc %anti
  21.       describe $chan Dodges and $read(AvoidSlap.txt) $+([ %anti, : People have been avoided and xouft-ed back!, ])
  22.     }
  23.     if (*klot* iswm $strip($1-)) && (%avoidslap == on) {
  24.       inc %anti
  25.       describe $chan Dodges and $read(AvoidSlap.txt) $+([ %anti, : People have been avoided and klots-ed back!, ])
  26.     }
  27.     if (!%tip. [ $+ [ $nick ] ]) {
  28.       var %tip_id = $nick $+ ~ $+ $chan $+ ~ $event
  29.       noop $tip(%tip_id,Action on $network, $+ $nick $+  just had an action on you in $chan,5)
  30.       noop $tip(%tip_id,Action on $network,message: $1-,5)
  31.       var %sound = $mircdirsounds\highlight.mp3
  32.       if ($isfile(%sound)) { .splay $qt(%sound) }
  33.       set -eu10 %tip. [ $+ [ $nick ] ] true
  34.     }
  35.     write $qt($mircdirLogs\LogOnAction.txt) 14|| 9 $date 14|| || 7 $time 14|| 15:: 14|| 9ACTION 14|| || 13 $network 14|| || 8 $chan 14|| || 11 $nick 14|| || 0 $1- 14||
  36.     write $qt($mircdirLogs\LogOnAction.txt) 14-
  37.     haltdef
  38.  
  39.   }
  40. }
  41. ON ^*:TEXT:*:#: {
  42.   if ($me isin $strip($1-)) {
  43.     var %n = $nick($chan,$nick).pnick
  44.     echo $color(normal) -phtm $chan < $+ $iif($nick isnotify,$chr(3) $+ $color(notify) $+ %n $+ ,%n) $+ > $replace($1-,$me,$+($chr(3),$color(highlight),$me,$chr(3),$color(normal)))
  45.     if (!%tip. [ $+ [ $nick ] ]) {
  46.       var %tip_id = $nick $+ ~ $+ $chan $+ ~ $event
  47.       noop $tip(%tip_id,Message on $network, $+ $nick $+  just said your name in $chan,5)
  48.       noop $tip(%tip_id,Message on $network,message: $1-,5)
  49.       var %sound = $mircdirsounds\highlight.mp3
  50.       if ($isfile(%sound)) { .splay $qt(%sound) }
  51.       set -eu10 %tip. [ $+ [ $nick ] ] true
  52.     }
  53.     write $qt($mircdirLogs\LogOnAction.txt) 14|| 9 $date 14|| || 7 $time 14|| 15:: 14|| 8 TEXT 14|| || 13 $network 14|| || 8 $chan 14|| || 11 $nick 14|| || 0 $1- 14||  
  54.     write $qt($mircdirLogs\LogOnAction.txt) 14-
  55.     haltdef
  56.   }
  57. }
  58. ON ^*:NOTICE:*:#: {
  59.   if ($me isin $strip($1-)) {
  60.     var %n = $nick($chan,$nick).pnick
  61.     echo $color(notice) -phtm $chan - $+ $iif($nick isnotify,$chr(3) $+ $color(notify) $+ %n $+ ,%n) $+ : $+ $chan $+ - $replace($1-,$me,$+($chr(3),$color(highlight),$me,$chr(3),$color(notice)))
  62.     if (!%tip. [ $+ [ $nick ] ]) {
  63.       var %tip_id = $nick $+ ~ $+ $chan $+ ~ $event
  64.       noop $tip(%tip_id,Notice on $network, $+ $nick $+  just said your name in $chan,5)
  65.       noop $tip(%tip_id,Notice on $network,message: $1-,5)
  66.       var %sound = $mircdirsounds\highlight.mp3
  67.       if ($isfile(%sound)) { .splay $qt(%sound) }
  68.       set -eu10 %tip. [ $+ [ $nick ] ] true
  69.     }
  70.     write $qt($mircdirLogs\LogOnAction.txt) 14|| 9 $date 14|| || 7 $time 14|| 15:: 14|| 8 TEXT 14|| || 13 $network 14|| || 8 $chan 14|| || 11 $nick 14|| || 0 $1- 14||  
  71.     write $qt($mircdirLogs\LogOnAction.txt) 14-
  72.     haltdef
  73.   }
  74. }
  75. on *:start: {
  76.   write -c $qt($mircdirLogs\LogOnAction.txt) 14Dark15Shadow14™ 14Based On 12m4IR8C 11Log On Action 7---  14|| 9 $date 14|| || 7 $time 14||
  77.   write $qt($mircdirLogs\LogOnAction.txt) -
  78. }
  79. on *:kick:#: {
  80.   if ($knick == $me) { write $qt($mircdirLogs\LogOnAction.txt)  14|| 9 $date 14|| || 7 $time 14|| 15:: 14|| 4 KICK 14|| || 13 $network 14|| || 8 $chan 14|| || 11 $nick 14|| 0 $1- 14|| | write $qt($mircdirLogs\LogOnAction.txt) 14- }
  81. }
  82. alias logonaction {
  83.   var %f = $mircdirlogs\logonaction.txt
  84.   if (!$isfile(%f)) { var %error = $input(There is NOT any log action file founded since now!,hodb,Error) | return }
  85.   window -a @Log.on.Action
  86.   clear @Log.on.Action
  87.   var %x = 1
  88.   while (%x <= $lines(%f)) {
  89.     aline -pl @Log.on.Action $read(%f,%x)
  90.     inc %x
  91.   }
  92. }
  93. menu @Log.on.Action {
  94.   Reload Log : {
  95.     clear @Log.on.Action
  96.     logonaction
  97.   }
  98.   Close:window -c @Log.on.Action
  99.   -
  100.   Clear Log File : {
  101.     var %f = $mircdirlogs\logonaction.txt
  102.     write -c $qt(%f) 14Dark15Shadow14™ 14Based On 12m4IR8C 11Logs On Action Cleared 7---  14|| 9 $date 14|| || 7 $time 14||
  103.     write $qt(%f) -
  104.     logonaction
  105.   }
  106. }
  107.  
  108. menu status,channel,query {
  109.   Log On Action :logonaction
  110. }
  111.  
  112. on *:LOAD: {
  113.   echo -a 8Ultimate Highlight - Notification is 9activated8. 7Remember you should not load any other similar remote.
  114. }
  115.  
  116. on *:UNLOAD: {
  117.   echo -a 8Ultimate Highlight - Notification is 4deactivated8.
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement