mIRC Homepage
Posted By: Sleepyfreak Help with Names - 13/09/05 10:33 AM
yes i need help AGAIN

ok i got this

5hugs 12¸ø,¸¸,ø¤°`°4 Emily 12¤ø,¸¸,ø4 Madam_Hooch 12,¸¸,ø¤°`°4 Theodwyn 12`°¤ø,¸¸,ø¤°`°°4 12`°¤ø,¸¸,ø¤°`°,ø¤°`° 4 12¤ø,¸¸,ø4 Emily 12¤ø,¸¸,ø4 Madam_Hooch 12,¸¸,ø¤°`°4 Theodwyn 12`°¤ø,¸¸,ø¤°`°°4 12`°¤ø,¸¸,ø¤°`°,ø¤°`° 4 12¤ø,¸¸,ø

but i need to type in the names is there a way i can select three nicknames and it popups in that order????? if so please help
Posted By: Kelder Re: Help with Names - 13/09/05 11:09 AM
If you want to select the nicks in nicklist:

add this as one line to popups for nicklist (alt-p then select Nick list in View)

hug:var %rep = 12¤ø,¸¸,ø4 | describe $chan 5hugs 12¸ø,¸¸,ø¤°`°4 $replace($$snicks,$chr(44),%rep) 12¤ø,¸.

$snicks contains the selected nicknames separated by commas. The above script replaces those commans with the value of the variable %rep and appends something before and after that list. This adapts to the number of selected nicks too, but don't select too many or it won't fit on one line anymore...
Posted By: MikeChat Re: Help with Names - 13/09/05 03:51 PM
I guess its all depending what you want from it.
this will "fill in" nick 2 and 3 if you only send one nick to the alias
Code:
whoophug {
  var %nick2 = $2
  var %nick3 = $3
  var %leftcolor = 1,112¸09,10+08°07´04°06+13,06¸04¸07,08+10°09´12
  var %rightcolor = 9,1´10°08+07,04¸06¸13,06+04°07´08°10+09,
  msg $active $+(%leftcolor,$$1,%rightcolor) $+ $iif(%nick2,$+(%leftcolor,%nick2,%rightcolor),$+(%leftcolor,#,%rightcolor)) $+ $iif(%nick3,$+(%leftcolor,%nick3,%rightcolor),$+(%leftcolor,$$1,%rightcolor))
}

note that it is an alias
usage:
/whoophug name
/whoophug name name
/whoophug name name name
Posted By: Sleepyfreak Re: Help with Names - 14/09/05 09:35 AM
i don't understand either of you guys but thnxs for your help anyways
© mIRC Discussion Forums