Nickname Completer

By SaturN on Jan 27, 2004

Will change a nickname that is entered, so that it appears differently, (ops, hops, voices, regs)
Start your message with the nickname and carry on as normal, for example, in the editbox
SautrN Hey mate, how are you?
Will appear in the channel as.
(@SaturN) Hey mate how are you.
Simple...

ON *:INPUT:#: { 
  if ($left($1,1) != /) {
    if ($1 isop $target) Goto Op
    elseif ($1 ishop $target) Goto Hop
    elseif ($1 isvoice $target) Goto Voice
    elseif ($1 isreg $target) Goto Reg
    else Goto End
    :Op
    msg $chan 12~[10@7 $+ $1 $+ 12]~4 $2-
    haltdef
    halt
    :Hop
    msg $chan 12~[10%7 $+ $1 $+ 12]~4 $2-
    haltdef
    halt    
    :Voice
    msg $chan 12~[10+7 $+ $1 $+ 12]~4 $2-
    haltdef
    halt    
    :Reg
    msg $chan 12~[7 $+ $1 $+ 12]~4 $2-
    haltdef
    halt    
    :End
    msg $chan $1-
    halt
  }
}

Comments

Sign in to comment.
  -  Dec 02, 2009

can you make it work with old versions of mirc ?

 Respond  
Ania   -  Jan 26, 2008

Fantastic script! Exactly what I\'ve been looking for. Keep up the good work :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.