i didnt know where to put this topic but oh well .... need help with nicklist, so far ive got most of it working like hammers icon, spec icon and op icons but i cnt get the away and profile icons to work, its for an msn like clone server so i dnt know how it will work to be honest but heres what i got ..
on *:dialog:nick*:*:*:{
if ($devent == init) {
%crap = $dll($ndll,Nicklist,$dname $!window(* $+ $right($dname,-7) $+ *,1))
dll $mdx SetMircVersion $version
dll $mdx MarkDialog $dname
dll $mdx SetDialog $dname style sysmenu
dll $mdx SetControlMDX $dname 1 ListView report single noheader> $views
dll $mdx SetDialog $dname bgcolor $rgb(000,000,000)
did -i $dname 1 1 setbkg color 1 $rgb(000,000,000)
did -i $dname 1 1 settxt color $rgb(255,255,255)
did -i $dname 1 1 settxt bgcolor $rgb(000,000,000)
did -i $dname 1 1 headerdims 1000
did -i $dname 1 1 iconsize normal small
did -i $dname 1 1 seticon normal 0, $+ $ico(op.ico)
did -i $dname 1 1 seticon normal 0, $+ $ico(owner.ico)
did -i $dname 1 1 seticon normal 0, $+ $ico(host.ico)
did -i $dname 1 1 seticon normal 0, $+ $ico(spec.ico)
did -i $dname 1 1 seticon normal 0, $+ $ico(norm.ico)
did -i $dname 1 1 seticon normal 0, $+ $ico(ignore.ico)
did -i $dname 1 1 seticon normal 0, $+ $ico(away.ico)
refresh #
}
and
alias -l nickicon {
var %l 1 | while (%l <= 9) { if ($ignore($mask($address($1,5),%l))) { return 6 } | inc %l }
if (' isin $1) return 1
if ($1 isowner $2) return 2
if ($1 isop $2) && ($1 !isowner $2) return 3
if ($1 !isvoice $2) && (m isincs $chan($2).mode) return 4
if ($level($remove($ial($1).addr,gatekeeperpassport)) == cup) return 7
return 5
}
can anyone help me fix this to show the profile icons and show the away icons aswell pleaseee