Skip to content
MSN

nickLust.dll?

A TG007 community discussion started by sugarboy.

Discussion 27 posts
Page 2 of 2
Open
Topic #4889 · 27 published posts · 3,044 views
This is the coding I use for my nicklist. but it doesn't show the icons properlly, can someone help me please. i've sent a preview of what my nicklist looks like but it's suppost to look like errors. but it doesn't. someone please help me so it's coded properlly.



on 1:join:#:{
 if ($nick == $me) dll $Dfind(DLL,nicklust3.dll) Mark $window(#).hwnd NL_Callback nodefgroup
}

Alias NL_Callback {
 var %Dll = Dll $Dfind(DLL,nicklust3.dll), %Channel = $(%,0) $+ $(#,0) $+ $2, %Nick $remove($3,.,@,+)

 %Dll AddGroup $2 10 . 0 > -=[Owners]=-
 %Dll AddGroup $2 11 @ 0 > -=[Hosts]=-
 %Dll AddGroup $2 12 + 0 > -=[Users]=-
 %Dll AddGroup $2 12 - 0 > -=[Users]=-

 if ($1 == nickAdding) {
   if (%Nick isowner %channel) return 10
   if (%Nick isop %channel) return 11
   if (%Nick isvoice %channel) return 12
   if (%Nick isreg %channel) return 12
 }
}

Alias Dfind { return $shortfn($findfile($1,$2,1)) }


What mine looks like.
IPB Image
What Error's looks like.
IPB Image

If someone can please help me.. Id really like that. Thanks for your help :notworking:

on 1:join:#:{
 if ($nick == $me) dll $Dfind(DLL,nicklust3.dll) Mark $window(#).hwnd NL_Callback nodefgroup
}

Alias NL_Callback {
 var %Dll = Dll $Dfind(DLL,nicklust3.dll), %Channel = $(%,0) $+ $(#,0) $+ $2, %Nick $remove($3,.,@,+)

 %Dll AddIcon $2 > owner.ico
 %Dll AddIcon $2 > host.ico
 %Dll AddIcon $2 > user.ico
 %Dll AddIcon $2 > spec.ico

 %Dll AddGroup $2 10 . 1 > -=[Owners]=-
 %Dll AddGroup $2 11 @ 2 > -=[Hosts]=-
 %Dll AddGroup $2 12 + 3 > -=[Users]=-
 %Dll AddGroup $2 12 - 3 > -=[Users]=-
 %Dll AddGroup $2 13 m 4 > -=[Specs]=-

 if ($1 == nickAdding) {
   if (%Nick isowner %channel) return 10
   if (%Nick isop %channel) return 11
   if (%Nick isvoice %channel) return 12
   if (%Nick isreg %channel) return 12
 }
}

alias dfind { return $shortfn($mircdirnicklust3.dll) }



This works.

 

 

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

so if the icon is in this folder "Icons" I should have it like Icons/gold.ico ?

i tried using that coding too.. but my nicklist still looks like IPB Image

on *:join:#:{ if ($nick == $me) { nlust.chan(#) } }
alias nlust.chan {
 nicklust Mark $window($1).hwnd nlist_cb rowselect tooltips hideempty
 nicklust AddIcon $1 > $shortfn($scriptdirIcons\host.ico)
 nicklust AddIcon $1 > $shortfn($scriptdirIcons\voice.ico)
 nicklust AddIcon $1 > $shortfn($scriptdirIcons\nrm.ico)
 nicklust AddIcon $1 > $shortfn($scriptdirIcons\owner.ico)
 nicklust AddIcon $1 > $shortfn($scriptdirIcons\msn.ico)
 nicklust AddIcon $1 > $shortfn($scriptdirIcons\spec.ico)
 nicklust SetGroupText $1 1 > Normal
 nicklust AddGroup $1 10 + 2 > Voiced
 nicklust AddGroup $1 11 @ 1 > Host
 nicklust AddGroup $1 12 . 4 > Owner
 nicklust AddGroup $1 13 ' 5 > Admin
 nicklust AddGroup $1 14 - 6 > Spectator
 nicklust SetGroupView $1 1 normal
 nicklust SetGroupView $1 10 normal
 nicklust SetGroupView $1 11 normal
 nicklust SetGroupView $1 12 normal
 nicklust SetGroupView $1 13 normal
 nicklust SetGroupView $1 14 normal
 nicklust SetGroupIcon $1 1 3
 nicklust SetGroupPos $1 13 start
 nicklust SetGroupPos $1 12 end
 nicklust SetGroupPos $1 11 end
 nicklust SetGroupPos $1 10 end
 nicklust SetGroupPos $1 1 end
 nicklust SetGroupPos $1 14 end
 nicklust SetHeaderFontStyle $1 bold
 nicklust SetBranchImage $1 > 0
}

alias nlist_cb {
 if ($1 = nickAdding) && (m isin $chan($2).mode) && ($nick($2,$3).pnick !isin +@'.) return 14
}

try that :)

People are like slinkies; they're generally boring until you push them down stairs

No you dont need to make a folder call icons, just put them in main folder of your script.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

tryied that.. can i add one of u to msn please.. im in need of serious help