Nick Completor

Okey, utk tidak menghampakan bro Zek, ni remote nick completor yg pakcu pakai… Feel free to edit it 😉

<br />
alias ncomp {<br />
  var %color = $+($base($r(2,14),10,10,2))<br />
  return $+($left($nick($1,$2).pnick,1),,%color,$left($2,1),,$mid($2,2,-1),,%color,$right($2,1),,$chr(44)) $3-<br />
}<br />
ON *:INPUT:*: {<br />
  if ($left($1,1) == $chr(47) || $ctrlenter || $inpaste) { return }<br />
  else {<br />
    if ($chr(35) isin $active && c !isin $gettok($chan($active).mode,1,32)) {<br />
      if ($1 ison $active) {<br />
        msg $target $ncomp($active,$1,$2-) | halt<br />
      }<br />
      else {<br />
        msg $target $1- | halt<br />
      }<br />
    }<br />
    else {<br />
      msg $target $1- | halt<br />
    }<br />
  }<br />
}<br />

Comments

2 thoughts on “Nick Completor”

Comments are closed.