Jump to content

Haggis

Members
  • Posts

    400
  • Joined

  • Last visited

Everything posted by Haggis

  1. i would love to use it lol
  2. I also have code in there so you can pick a file from your hard drive to upload so iwill be making a dialog to get that in there too
  3. I will give it a bash when i get home
  4. I can see her point being honest i mean i could call you a stuck up idiot (i would not but i could) I would not expect the TG host etc to then find out my real life details and make them known lol
  5. i dont remember what i used to make the video as i downloaded it last night lol but i will check when i get home from work
  6. sockets the socket code was used from mircscripts then edited to add in the other stuff i wanted
  7. This script takes a screenshot of your desktop and then upload it to image shack see for yourself
  8. on 1:sockread:imageshack_drone*:{ prog -o test prog -p 50 prog -p 75 prog -p 100 sockread -f %lol if $mid(%lol,1,9) = location: { %lol = $mid(%lol,11) echo -a 4Uploaded to imageshack: http:// $+ $gettok(%lol,2,$asc(/)) $+ / $+ $gettok($gettok(%lol,2-,$asc(?)),3-,$asc(=)) set %link http:// $+ $gettok(%lol,2,$asc(/)) $+ / $+ $gettok($gettok(%lol,2-,$asc(?)),3-,$asc(=)) unset %lol echo -a File Uploaded. prog -c ; unset %link } } its using the progress bar code in the downloads on here it give me this loads the progress bar goes to 50 then 75 then 100% then stops the file does not upload and it stays at 100% anddoes not close i have to close it manually if i take out all the line beginning prog it works fine
  9. do u not find that text very hard to read on that background?
  10. like to log the last 5 people that have joined or to show if they ahd a different nickname when they joined/
  11. as i said to you i learnt perl as i went along doing the one for cusa lol i should really learn regex i worked out a few thing like ^ is at start + mean anything like A+B is A and B and anything in bewteen lol
  12. glad you got this as i was getting no where fast
  13. i must be missing something then lol i have atest menu on normal mirc nicklist but does not show on dialog lol
  14. cool look better am gonna attempt popups next
  15. i got it by looking at the code i had and seeing what warrior had put i find this a good way as it lets me see what i did wrong and why it is wrong
  16. i dont think its that bit as i have not actually changed anything in the loop
  17. i tried to make it multi room but now it seems to crash mirc lol and the nicklist does not show 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: { if ($dialog(nicklist)) dialog -c nicklist $+ $active nicklist $+ $active dialog -m nicklist $+ $right(#,-1) 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 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 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 *:join:#: listnicks on *:part:#: listnicks on *:kick:#: listnicks alias listnicks { did -ra nicklist $+ $right(#,-1) 4 $nick($active,0) did -ra nicklist $+ $right(#,-1) 2 $active var %x = 1 did -r nicklist $+ $right(#,-1) 1 while ($nick($active,%x)) { did -az nicklist $+ $right(#,-1) 1 0 + $nickicon($nick($active,%x)) $nick($active,%x) inc %x } .timerresize -m 0 1 resize $active } alias relistnicks { .remove nicklist.txt var %x = $gettok($calc($did(nicklist $+ $right(#,-1),1).lines * $gettok($did(nicklist $+ $right(#,-1),5).text,1,32) / 100),1,$asc(.)) did -r nicklist $+ $right(#,-1) 1 while ($nick($active,%x)) { write -l $+ %x nicklist.txt 0 + $nickicon($nick($active,%x)) $nick($active,%x) inc %x } loadbuf -ro nicklist $+ $right(#,-1) 1 nicklist.txt .timerresize -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 } alias resize { var %achan $1- if ($dialog(nicklist $+ $right(#,-1)).w $dialog(nicklist $+ $right(#,-1)).h > $dll(dll\nicklist.dll,GetSize,%achan)) || ($dialog(nicklist $+ $right(#,-1)).w $dialog(nicklist $+ $right(#,-1)).h < $dll(dll\nicklist.dll,GetSize,%achan)) { dll dll\mdx.dll SetDialog nicklist $+ $right(#,-1) coords 0 0 $dll(dll\nicklist.dll,GetSize,%achan) dll dll\mdx.dll MoveControl nicklist $+ $right(#,-1) 1 * * $gettok($dll(dll\nicklist.dll,GetSize,%achan),1,32) 2000 if ($dialog(nicklist $+ $right(#,-1))) { did -i nicklist $+ $right(#,-1) 1 1 headerdims $calc($gettok($dll(dll\nicklist.dll,GetSize,%achan),1,38) - 6) $+ :1 0:2 } listnicks } } ;on 1:ACTIVE:*: { ; if ($dialog(nicklist)) dialog -c nicklist nicklist ; dialog -m nicklist nicklist ;}
  18. just because all the sheep do it does not mean i should stick to the herd
  19. theres a scrollbar there so u can scroll down to the other names
  20. i got it working when i switch channels lol
  21. cool thanks i will give that a try when i get home
×
×
  • Create New...