Jump to content

Haggis

Members
  • Posts

    400
  • Joined

  • Last visited

Everything posted by Haggis

  1. can also be affected by the size of the sectors on the drive
  2. this is my code that warrior helpe dme with if it helps dialog nicklist { title "Nick" size -1 -1 86 314 option dbu list 1, 10 20 75 293, size extsel hsbar vsbar text "Room name", 2, 3 2 80 8 text "Chatters:", 3, 3 10 43 8 text "num", 4, 54 11 29 8, right button "", 5, 1 21 8 283 } menu channel { Nicklist: .Turn Nicklist On: { ;This will turn the nicklist on for each channel you use it in. if ($dialog(nicklist $+ $active)) dialog -c nicklist $+ $active nicklist dialog -m nicklist $+ $active nicklist ;The codes above will determine if the nicklist for a channel is already running. If it is it will close, and reactivate it. } .Turn Nicklist off: dialog -c nicklist $+ $active nicklist } on *:dialog:nicklist*:init:*: { dll dll\mdx.dll MarkDialog $dname dll dll\mdx.dll SetMircVersion $version dll dll\mdx.dll SetDialog $dname style dll dll\mdx.dll SetFont $dname 1 12 50 verdana dll dll\mdx.dll SetColor $dname 1 text $rgb (0,0,139) dll dll\mdx.dll SetControlMDX $dname 1 ListView report showsel noheader smallicon hottrack single > dll\views.mdx dll dll\mdx.dll SetControlMDX $dname 5 scrollbar vertical > dll\ctl_gen.mdx ;The code above transforms the button above into a vertical scrollbar. did -i $dname 1 1 headerdims $calc($gettok($dll(dll\nicklist.dll,GetSize,$active),1,38) - 6) $+ :1 0:2 dll dll\nicklist.dll Nicklist $dname $active ;The code above attaches your custom nicklist to the one in mIRC. did -ra $dname 5 1 0 114 15 2 1 did -i $dname 1 1 iconsize normal small did -i $dname 1 1 seticon normal c:\mirc\icons\owner.ico did -i $dname 1 1 seticon normal c:\mirc\icons\host.ico did -i $dname 1 1 seticon normal c:\mirc\icons\no.ico did -i $dname 1 1 seticon normal c:\mirc\icons\voice.ico did -i $dname 1 1 seticon normal c:\mirc\icons\tick.ico listnicks } on *:dialog:nicklist*:*:*: { if ($devent == sclick) { if ($did == 1) echo -a $did(1).seltext if ($did == 5) relistnicks } elseif ($devent == close) .timerresize. $+ $remove($dialog(nicklist*),nicklist) off } on *:join:#: listnicks on *:part:#: listnicks on *:kick:#: listnicks alias listnicks { did -ra nicklist $+ $active 4 $nick($active,0) did -ra nicklist $+ $active 2 $active var %x = 1 did -r nicklist $+ $active 1 while ($nick($active,%x)) { did -az nicklist $+ $active 1 0 + $nickicon($nick($active,%x)) $nick($active,%x) inc %x } .timerresize. $+ $active -m 0 1 resize $active ;This code resizes the nicklist if it needs to. Otherwise, it won't do anything. } ;This code is used for scrolling with the scrollbar. It deletes the top names from the list while scrolling down, and readds them when scrolling up. It calculates the position of the scrollbar to determine which nicknames to add, and which to delete. Therefore giving it a scrolling perspective. alias relistnicks { .remove nicklist.txt var %x = $gettok($calc($did(nicklist $+ $active,1).lines * $gettok($did(nicklist $+ $active,5).text,1,32) / 100),1,$asc(.)) did -r nicklist $+ $active 1 while ($nick($active,%x)) { write -l $+ %x nicklist.txt 0 + $nickicon($nick($active,%x)) $nick($active,%x) inc %x } loadbuf -ro nicklist $+ $active 1 nicklist.txt .timerresize. $+ $chan -m 0 1 resize $active } alias nickicon { if ($left($nick($active,$1).pnick,1) == ~) return 1 if ($left($nick($active,$1).pnick,1) == &) || ($left($nick($active,$1).pnick,1) == @) return 2 if ($left($nick($active,$1).pnick,1) == +) return 4 if ($left($nick($active,$1).pnick,1) == %) return 2 else return 3 } ;The following alias checks to see if the nicklist needs to be resized for whatever reason. If the nicklist isn't the size of mIRC's nicklist it will resize to compensate. alias resize { var %achan $1- if ($dialog(nicklist $+ %achan)) { if ($dialog(nicklist $+ %achan).w $dialog(nicklist $+ %achan).h > $dll(dll\nicklist.dll,GetSize,%achan)) || ($dialog(nicklist $+ %achan).w $dialog(nicklist $+ %achan).h < $dll(dll\nicklist.dll,GetSize,%achan)) { dll dll\mdx.dll SetDialog nicklist $+ %achan coords 0 0 $dll(dll\nicklist.dll,GetSize,%achan) dll dll\mdx.dll MoveControl nicklist $+ %achan 1 * * $gettok($dll(dll\nicklist.dll,GetSize,%achan),1,32) 2000 if ($dialog(nicklist $+ %achan)) { did -i nicklist $+ %achan 1 1 headerdims $calc($gettok($dll(dll\nicklist.dll,GetSize,%achan),1,38) - 6) $+ :1 0:2 } listnicks } } }
  3. The alias sets the icons to what status they should have i.e ~ & etc the other line is in my alias that grabs the nicks and lists them in my nicklist
  4. i use this alias to work it out alias nickicon { if ($left($nick($active,$1).pnick,1) == ~) return 1 if ($left($nick($active,$1).pnick,1) == &) return 2 if ($left($nick($active,$1).pnick,1) == +) return 4 if ($left($nick($active,$1).pnick,1) == %) return 2 else return 3 } and in the lopp adding the nicks i use did -a nicklist 1 0 + $nickicon($nick($active,%x)) $nick($active,%x)
  5. in the bit above this appears to be the dcx alias dcx { if ($isid) { return $dll(dll\dcx.dll,$1,$2-) } else { dll "dll\dcx.dll" $1 $2- } }
  6. Thats good err0r will need to give it a try
  7. there is a tutorial here http://www.tg007.net/forum/index.php?showtopic=2543
  8. Haggis

    Help

    yeah thats the best way to get people to want to join your server be arrogant
  9. will be something like this on *:TEXT:*:?: { msg $nick Sorry $nick i am not available right now } it may not be defo correct as i have not used mirc for a while but someone will coreect it lol
  10. Why dont you show us your skills and make one thats better just to show us how it should be done?
  11. i like them too but i have no idea how to do it
  12. this is mine not much done really lol uses err0rs nicklist
  13. I did it at college so its not that hard if you take your time and read about it first http://www.ehow.com/how_2036581_connect-server-network.html
  14. very nice err0r i wish i could code to that standard
  15. could do you a soulfly tshirt Travis Lol
  16. not much in it just now but i can do custom stuff T-Shirts Tops (long) Outerwear Kids Clothing Hats & Caps Bags Fun Stuff Pets (jumpers/Bowls etc) Home & Office Mugs and Bottles Buttons & Magnets Boxers/Thongs etc Cards, Prints & Calendars Stickers Books & CDs If you would like a particular image or wording on anything let me know and we can come to some arrangement http://www.cafepress.co.uk/haggistech few examples on there too even if you would like a mousemat with a picture of your dog on it or a calendar with a picture of your bike on the front cover just let me know
  17. I have an HTC Hero which runs android loads of apps to download
  18. Jagie if your in the UK you can get spotify no prob
  19. Agreed some of the new expensive cars are digital throttles and not cable
  20. if my engine goes off i lose my ABS i lose the power steering, my steering wheel would lock on turning so yeah its very dangerous what happens if the car stops on a railway crossing and you cant start it agin to move it
  21. Johnson if you want to try and do it then do it and use it to learn I did it wth an MP£ player took me ages to make it work and look good but i knew nothing about it when i started and i now have an MP£ Player, which is in the downloads on here
  22. So instead of having the buttons along the taskbar they are all in that little box?
  23. Haggis

    Word Kicker

    Travis would be good if you could comment some of it so people know what it does
  24. Not entirely True as my Standard Def TV which is over 5 years old now is viewable in 16:9
×
×
  • Create New...