Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.94 KB | None | 0 0
  1. on *:TEXT:*:#:{
  2.   set -l %p
  3.   if ($gettok($readini($mircini,options,n2),30,44)) && ($left($nick($chan,$nick).pnick,1) != $left($nick,1)) %p = $v1
  4.   set -l %nick $+(%p,$nick)
  5.   if ((!$appactive) || ($activecid != $cid) || ($active != $target)) && ($tema_me_isin($1-,$target)) tema_mirc_echo_quote normal $target $+($chr(3),$base($tema_cnick(%p $+ $nick),10,10,2),%nick) $1-
  6. }
  7.  
  8. on *:ACTION:*:#:{
  9.   set -l %p
  10.   if ($gettok($readini($mircini,options,n2),30,44)) && ($left($nick($chan,$nick).pnick,1) != $left($nick,1)) %p = $v1
  11.   set -l %nick $+(%p,$nick)
  12.   if ((!$appactive) || ($activecid != $cid) || ($active != $target)) && ($tema_me_isin($1-,$target)) tema_mirc_echo_quote action $target %nick $1-
  13. }
  14.  
  15. on *:NOTICE:*:#:if ((!$appactive) || ($activecid != $cid) || ($active != $target)) && ($tema_me_isin($1-,$target)) tema_mirc_echo_quote notice $target $nick $1-
  16.  
  17. on ^$*:HOTLINK:/\[([\x23\x26].+?)\]/uS:@Citações *:if ($me !ison $regml(1)) halt
  18.  
  19. on $*:HOTLINK:/\[([\x23\x26].+?)\]/uS:@Citações *:{
  20.   if ($me !ison $regml(1)) halt
  21.   set -l %pos $gettok($hotlinepos,1,32)
  22.   tokenize 32 $strip($hotline)
  23.   window -a $regml(1)
  24.   findtext -n $strip($line($regml(1),$line($regml(1),0)))
  25.   findtext $1- [ $+ [ $calc(%pos - 1) ] ] $ [ $+ [ $calc(%pos + 1) ] $+ ] -
  26. }
  27.  
  28. alias tema_mirc_echo_quote {
  29.   window -g2 $2
  30.   if ($tema_config(quote_tip)) && (!$appactive) noop $tip($+(tip_,$ticks,$rand(1111,9999)),$upper($1) - $4 citou seu nick,$7-,$tema_config(quote_tip_delay),$null,$null,window -a $1)
  31.   if ($tema_config(quote_flash)) !flash
  32.   if (!$tema_config(quote_enable)) return
  33.   set -l %cwin $+(@Citações,$chr(160),$network,$chr(160),$cid)
  34.   set -l %nick $3
  35.   if (normal == $1) %nick = $+(<,%nick,$chr(3),>)
  36.   elseif (action == $1) %nick = * %nick
  37.   elseif (notice == $1) %nick = $+(-,%nick,:,$2,-)
  38.   if (!$window(%cwin)) window $iif($tema_config(quote_hide),-vhw0,-vn2) %cwin
  39.   else !echo %cwin $chr(160)
  40.   !echo -tci2 $1 %cwin %nick $+([,$2,]) $4-
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement