SHARE
TWEET

Untitled

a guest May 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. menu nicklist {
  2.   • líneas
  3.   .$submenu($redirr($1))
  4.   -
  5. }
  6.  
  7. alias redirr {
  8.   if ($1 == begin) { window -h @redir | var %r.tm = $replace($timestampfmt,H,?,h,?,M,?,m,?,n,?,s,?), %r.ni, %r.cn | %r.tm = $+(%r.tm,?,<,$snick($chan,1),>,*) | filter -cwwpbz $window($chan) @redir %r.tm   }
  9.   var %r.lin = $line(@redir,0))
  10.   if (%r.lin > 0) {
  11.     if ($1 isnum 1- $+ $iif(%r.lin < 10,%r.lin,10)) {  
  12.       var %r.linn = $iif(%r.lin < 10,$1,$calc(%r.lin - 10 + $1))
  13.       var %r.linea =  $strip($line(@redir,%r.linn))
  14.       %r.linea = $replace($gettok(%r.linea,1-,32),:,·)
  15.       return . %r.linea :.
  16.     }
  17.   }
  18.   else { if ($1 == 1) { return } }
  19.   if ($1 == end) {  window -c @redir }
  20. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top