Top

/realname alias


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Jan 28, 2009
Last Updated  Jan 28, 2009
Tags  name  real  sassirc 

Introduction

ok so this was asked for on the forums so i thought i would bring it here too

basically this is to retrieve the "real name" of a nick

Syntax: /realname <nick>

and it wont affect normal /whois querys

Grab the Code

raw 311:*: {
  if ($($+(%,xx),2) == 1) {
    set -u2 $+(%,checking,.,name) 1
    set -u2 $+(%,$2,.,name) $remove($6-,$chr(58))
    .echo -a $2 Realname: $($+(%,$2,.,name),2)
  }
  haltdef
}
raw 312:*: {
  if ($($+(%,checking,.,name),2) == 1) { haltdef }
}
raw 317:*: {
  if ($($+(%,checking,.,name),2) == 1) { haltdef }
}
raw 318:*: {
  if ($($+(%,checking,.,name),2) == 1) { haltdef }
}
raw 319:*: {
  if ($($+(%,checking,.,name),2) == 1) { haltdef }
}
alias realname { set -u2 %xx 1 | .whois $1 }

Comments

  (2)  RSS
napa182
Comments: 1,455
 
mIRC Snippet:  /realname alias
Posted on Jan 28, 2009 9:07 pm
you could use tokens on this to shorten it up some
Code:
alias realname { set -u3 %^1 on | whois $$1 }
raw *:*: {
  if (%^1) {
    if ($istok(317 318 313 335 312 319 307 310 378 379,$numeric,32)) { haltdef }
    elseif ($numeric == 311) { echo -a $+($2,'s) Realname: $gettok($1-,2,42) | haltdef }
  }
}


or this
Code:
alias realname { set -u5 %^1 on | whois $$1 }
raw *:*: { if (%^1) { $iif($istok(317 318 313 335 312 319 307 310 378 379,$numeric,32),haltdef,$iif($numeric == 311,echo -a $+($2,'s) Realname: $gettok($1-,2,42))) | haltdef } }


Quote:
napa182's Realname: ,,|,,__(>_<)__,,|,,

heh
PunkTuReD
Comments: 461
 
mIRC Snippet:  /realname alias
Posted on Jan 29, 2009 12:26 am
lol nice napa182
i thought u would have had
$+($2,$chr(39),s,$chr(32),Realname,$chr(58))

nice real name btw hahahahahaha

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom