Advertisement
westor

Highlight edit for Mr_Me v4

Jan 15th, 2015
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.84 KB | None | 0 0
  1. on ^*:action:*:#: {
  2.   if ($me isin $strip($1-)) {
  3.     var %t = $chr(3) $+ $color(action) $+ $1-
  4.     echo -phtm $chan $chr(3) $+ $color(action) $+ * $nick($chan,$nick).pnick $replace(%t,$me,$+($chr(3),$color(highlight),$me,$chr(3),$color(action)))
  5.     if (!%tip. [ $+ [ $nick ] ]) {
  6.       noop $tip('Tray Tip',Action, $+ $nick $+  just had an action on you in $chan,5)
  7.       noop $tip('Tray Tip',Action,message: $1-,5)
  8.       splay $qt($mircdir\sounds\highlight.mp3)
  9.       set -u10 %tip. [ $+ [ $nick ] ] true
  10.     }
  11.     ;haltdef
  12.     write Logs/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||
  13.     write Logs/LogOnAction.txt 14-
  14.     haltdef
  15.  
  16.   }
  17. }
  18. on ^*:text:*:#: {
  19.   if ($me isin $strip($1-)) {
  20.     var %t = $chr(3) $+ $color(normal) $+ $1-
  21.     echo -phtm $chan $chr(3) $+ $color(normal) $+ * $nick($chan,$nick).pnick $replace(%t,$me,$+($chr(3),$color(highlight),$me,$chr(3),$color(normal)))
  22.     if (!%tip. [ $+ [ $nick ] ]) {
  23.       noop $tip('Tray Tip',Message, $+ $nick $+  just said your name in $chan,5)
  24.       noop $tip('Tray Tip',Message,message: $1-,5)
  25.       ;splay $qt($mircdirsounds\highlight.mp3)
  26.       splay sounds\highlight.mp3
  27.       set -u10 %tip. [ $+ [ $nick ] ] true
  28.     }
  29.     write Logs/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||  
  30.     write Logs/LogOnAction.txt 14-
  31.     haltdef
  32.   }
  33. }
  34. on *:start: {
  35.   write -c Logs/LogOnAction.txt 14Dark15Shadow14™ 14Based On 12m4IR8C 11Log On Action 7---  14|| 9 $date 14|| || 7 $time 14||
  36.   write Logs/LogOnAction.txt -
  37. }
  38. on *:kick:#: {
  39.   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- }
  40. }
  41. alias logonaction {
  42.   window -a @Log.on.Action
  43.   clear @Log.on.Action
  44.   var %x = 1
  45.   while (%x <= $lines(Logs\LogOnAction.txt)) {
  46.     aline -pl @Log.on.Action $read(Logs\LogOnAction.txt,%x)
  47.     inc %x
  48.   }
  49. }
  50. menu @Log.on.Action {
  51.   Reload Log : {
  52.     clear @Log.on.Action
  53.     logonaction
  54.   }
  55.   Close:window -c @Log.on.Action
  56.   -
  57.   Clear Log File : {
  58.     write -c Logs/LogOnAction.txt 14Dark15Shadow14™ 14Based On 12m4IR8C 11Logs On Action Cleared 7---  14|| 9 $date 14|| || 7 $time 14||
  59.     write Logs/LogOnAction.txt -
  60.     logonaction
  61.   }
  62. }
  63.  
  64. menu status,channel,query {
  65.   Log On Action : logonaction
  66. }
  67.  
  68. on *:LOAD: {
  69.   echo -a 8Ultimate Highlight - Notification is 9activated8. 7Remember you should not load any other similar remote.
  70. }
  71.  
  72. on *:UNLOAD: {
  73.   echo -a 8Ultimate Highlight - Notification is 4deactivated8.
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement