Jump to content

Rhys

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by Rhys

  1. Rhys

    Statusbar

    i don't understand. is this part correct, i have just changed it. Â dll $ktools SbAddIcon 1, $+ icons\wi0064-16.ico,1 Â dll $ktools SbSetIcon 0 > 1 btw, it doesen't work EDIT: don't worry, i have now fixed it. fix: use the following for ALL your icons: dll $ktools SbAddIcon 0, $+ icon.ico dll $ktools SbSetIcon 1 > 1 change the 0 on the first line if you are using a .ICL, to the number of the icon you want, else leave it 0 for any other files. this will put the icons down in order you add them. if you want more help, just reply and i'll explain in more detail i have another question. how can i find how many channels im on altogether, through multiple servers? not just the current server.
  2. Rhys

    Statusbar

    I just downloaded a statusbar from elite scriptaz, and i've managed to change the text and stuff, but it has some icon things, but i don't know how to add them. here is the code below. alias statusbar { ;Alias for the status bar  dll $ktools CreateSb ;sbparts - sets the size of the bars you will fix this up your self. to what ever you make it into.  dll $ktools SbSetParts 160 459 790 -1 ------;Sets the icon you want if you want to change them you will have to set your dir and open it and chose the icon you want.  dll $ktools SbAddIcon 21, $+ pics\qnx.icl  dll $ktools SbAddIcon 0, $+ pics\qnx.icl  dll $ktools SbAddIcon 51, $+ pics\qnx.icl  dll $ktools SbAddIcon 17, $+ pics\qnx.icl ;Number of boxers for the information you can set as much as you want. on the information you want in the status bar  dll $ktools SbSetIcon 0 > 0  dll $ktools SbSetIcon 1 > 1  dll $ktools SbSetIcon 2 > 2  dll $ktools SbSetIcon 3 > 3 ----- ;geting to the information you want in the boxers now. you can set diff styles in the status bar as i will show you soon just school down to -styles  dll $ktools SbSetText 0 > popout > blah  dll $ktools SbSetText 1 > popout > blah  dll $ktools SbSetText 2 > popout > blah  dll $ktools SbSetText 3 > popout > blah  .timerbar 0 1 stupdate } alias stupdate {  dll $ktools SbSetText 0 > popout > blah  dll $ktools SbSetText 1 > popout > blah  dll $ktools SbSetText 2 > popout > blah  dll $ktools SbSetText 3 > popout > blah } inbetween the two ----- is all the code for the icons i think. remove before trying the code you will need an alias for ktools. what im realy asking for help for is to add a different icon to each box. i did egt an icon in there, after i opened it, and typed /statusbar, an icon would appear in the 1st box. i do it again and the same icon would appear in the 2nd box and so on...
  3. nevermind, i have done it. what i did was to create 3 variables, %filecount %fileline and %filesearch. %filecount was the lines of playlist.txt, %fileline was the line it was currently reading, and %filesearch was the current song name. i then did a timer to do it %filecount times for 20 millieseconds, then run an alias. in the alias, it checked if it was the first song by doing if (%filesearch isin $read(playlist.txt, 1) and if so, it was easily found the next song line would be 2. but if it wasn't 1, it would scan everyline for the song name, and then set %nextsongline the currentline it was found on, and play from the next line.
  4. I'm currently making a playlist for my Mp3 Player. I'm stuck with 1 thing. I can't figure out how to play the next song from the one i'm currently playing. eg: here is a list of songs in my Playlist dialog listbox: 2pac - ghetto gospel ali g - me julie jennifer lopez - get right mvp - rock ya body crazy frog right, i want it so if i play, for example, ali g - me julie, when that song finishes, it will play the next song in my playlist, which is jennifer lopez - get right. The problem is trying to find the line of the file in playlist.txt. If i knew this, i could do it by increasing the line number of the currently playing song, which will give me the next song. If this is not clear enough, please tell me and I will re-write this in more detail.
  5. you need POPUPS.dll i think. i'm not sure how to get icons in your nicklist though.
  6. mIRC comes with this option in the mIRC Settings. Go to: View > Options (Hold Alt + O) Click the + next to Other Click Lock Check the box saying "On Startup" Click Lock and enter a password.
  7. im just guessing at this. if you have a member's part of your website, and you have somewhere that shows there username (like in the menubar: Welcome <name>), then i would of thought that using the code you used to show the Welcome <name> to echo the name into the nickname part of what your trying to do.
  8. on *:notice:*:*:{ if (AWAY isin $1-) { echo # $nick is now away. } if (BACK isin $1-) { echo # $nick has returned. } else { echo # - $+ $nick $+ - $1- } haltdef }
  9. Rhys

    IRCX nicklist

    that is a different code for icons. i haven't tried it, so i'm not sure if i can do it or not
  10. Rhys

    IRCX nicklist

    the code i posted is using the normal mirc nicklist. it reads the first user in the nicklist, which would be an admin, then sysop, etc...
  11. Rhys

    IRCX nicklist

    all you really need to change is the did -a $dname 3 part. also remove the $chr(9) ... bit. heres the whole code anyway. i was just messing around and made this. alias mdx_fullpath { return $+(",C:\Documents and Settings\Rhys\My Documents\script\dll\mdx.dll,") } alias mdx { dll $mdx_fullpath $1- } alias mdxinit {  dll $mdx_fullpath SetMircVersion $version  dll $mdx_fullpath MarkDialog $dname } alias nickl { dialog -m nickl nickl } dialog nickl {  size -1 -1 128 355  title "Cust0m Nicklist"  button "positioner",1001,0 0 0 0  text "Total Users:",1,2 331 64 12  text "",2,62 332 41 11  list 3,0 0 131 331,extsel size ;the button below is auto-created.You can remove it  button "",1000,0 0 0 0,ok hide } on *:dialog:nickl:init:*:{  mdxinit  mdx SetControlMDX $dname 1001 positioner  minbox > dll\dialog.mdx  mdx SetControlMDX $dname 3 ListView report nosortheader rowselect single grid >dll\views.mdx  did -i $dname 3 1 headerdims 80 45  did -i $dname 3 1 headertext Nickname $chr(9) Op  loadnicks  did -a $dname 2 $nick($active,0) } alias loadnicks {  set %n 0  :start  inc %n  if ($nick($active,%n) isowner $active) {   did -a $dname 3 $nick($active,%n) $chr(9) +q   goto start  }  if ($nick($active,%n) isop $active) {   did -a $dname 3 $nick($active,%n) $chr(9) +o   goto start  }  if ($nick($active,%n) isvo $active) {   did -a $dname 3 $nick($active,%n) $chr(9) +v   goto start  }  if ($nick($active,%n) isreg $active) {   did -a $dname 3 $nick($active,%n) $chr(9) -   goto start  } }
  12. Rhys

    IRCX nicklist

    im not sure if this is what your looking for, but you can try it. if you want the whole code, just ask alias loadnicks { set %n 1 :start inc %n if ($nick($active,%n) isowner $active) { did -a $dname 3 $nick($active,%n) $chr(9) +q goto start } if ($nick($active,%n) isop $active) { did -a $dname 3 $nick($active,%n) $chr(9) +o goto start } if ($nick($active,%n) isvo $active) { did -a $dname 3 $nick($active,%n) $chr(9) +v goto start } if ($nick($active,%n) isreg $active) { did -a $dname 3 $nick($active,%n) $chr(9) - goto start } } it uses a table with 2 columns.
  13. Rhys

    onjoin help

    i don't get what you mean with the on join message, but to set one, you would type: /prop #channel ONJOIN message for the dynamic room limit, try this. on *:join:#channel:{ mode # +l $calc($nick(#,0) + 1) } on *:part:#channel:{ mode # +l $calc($nick(#,0) - 1) }
  14. Rhys

    On Action

    ON *:ACTION:*laugh*:#:{ if ($me isin $1-) { describe $chan Har har har, very funny $nick $+ ..... how about you shut the funk up!? Â } }
  15. Rhys

    MP3 Player

    i need help with my mp3 player. when you open it, it tries to do a command. the command is always a number and it changes sometimes. it fills my status window up with number unknown command. i know where the code it thats doing it, but i don't know whats wrong with it, can anyone help me? on *:dialog:mp3:init:0:{ if (%runonstartup == on) { set %mp3.dir $sdir(MP3 Files Folder) $findfile(%mp3.dir,*.mp3,0,did -a mp3 1 $nopath($1-)) did -c mp3 18 } elseif (%runonstartup == off) { $findfile(%mp3.dir,*.mp3,0,did -a mp3 1 $nopath($1-)) did -u mp3 18 } }
  16. heres a screenshot of my host bot controls. some of the buttons dialogs arent there because i havent done them yet. all the dialogs have been created. this project is now complete!
  17. how can i add a variable like below to a list box, but have 1 name per line and remove the comma? %mirc.adminsonline you, err0r, ozzy, someone, add that into a list box, so it would look like this you err0r ozzy someone
  18. k thanks for the reply's everyone.
  19. thats not really what i was looking for.
  20. i have a login bot a mate of mine (owner of Talk-Central) sent me, and i have added many features to it. i need help with a change password command. i need to change the 2nd word in a text document. an example is below in a text document Username Password OpType OpPermission is how its set out, eg: rhys pass +q 1 bob test +o 2 etc... i need help changing it to whatever the user says.
  21. Rhys

    $remove

    thanks ozzy. i did try that but it didn't work at all and now it has. thanks anyway
  22. Rhys

    $remove

    can anyone help me with this code. i can't get it to work. when someone logs out in either %mirc.adminsonline or %mirc.opersonline it removes there name but it just adds the code ($remove(%mirc.adminsonline,%nickname, to the variable. that code was for when an admin logs out. its the same with the opers variable. the code i need help with is here: if ($2 == PRIVMSG) && ($3 == mIRCrosoft_Host) && ($remove($4,:) == !Logout) { if (%nickname $+ $chr(44) isin %mirc.adminsonline) { set %mirc.adminsonline ($remove(%mirc.adminsonline,%nickname $+ $chr(44)) sockwrite -n extreme MODE #mIRCrosoft -o %nickname sockwrite -n extreme PRIVMSG %nickname :You have been logged out. halt } if (%nickname $+ $chr(44) isin %mirc.opersonline) { set %mirc.opersonline ($remove(%mirc.opersonline,%nickname $+ $chr(44)) sockwrite -n extreme MODE #mIRCrosoft -o %nickname sockwrite -n extreme PRIVMSG %nickname :You have been logged out. halt } elseif (%nickname $+ $chr(44) !isin %mirc.adminsonline) || (%nickname $+ $chr(44) !isin %mirc.opersonline) { sockwrite -n extreme PRIVMSG %nickname :You are not logged in. halt } } please can someone help
  23. Rhys

    MP3 Player

    i just don't understand dll's. ive never used them before. digitalx the code you gave me is ok, but the size is to big. the dock window is to high. and my channels bar covers my toolbar. how can i fix this? also my dialog isnt working. i have only resized it and now it doesent work properly.
×
×
  • Create New...