pball

pball

Joined
Dec 20, 2007

Activity Stream

pball commented on a Comment, DCC Send/Receive Tracker Window  -  Apr 11, 2016
pball commented on a Page, Idle kicker  -  Jan 18, 2012

toclafane1 you seem to forget that some times channels have a specific purpose and idling in them is not what they are for. channels to request vhosts are an example, you use a command to request a vhost and then you're supposed to leave.

this isn't for regular channels where people talk, unless the owner has a twisted sense of humor lol.

 Respond  
pball commented on a Page, Idle kicker  -  Jan 11, 2012

toclafane1 there are plenty of good reasons to kick idlers and no i'm not gonna list them. I'm also gonna say your comments haven't added anything of value yet.

 Respond  
pball commented on a Page, Idle kicker  -  Jan 10, 2012

toclafane1 I say to change the chan in the description

Conscious I also say to change the time in the description

So your points are quite moot, I put those values in there as defaults and place holders.

 Respond  
pball commented on a Page, Idle kicker  -  Jan 10, 2012

@toclafane1
why remove the #pball? the way it's setup now is to work in 1 channel.

@Jethro
Why would my approach be ill-advised? If there are 10 normal users in a chan there would 10 timers with my method. Your method would have a single timer but have to loop through all the nicks at once. Is there that big of difference there?

 Respond  
pball created a Page  -  Jan 10, 2012
929 

This is a simple script to kick idlers in a channel. Someone couldn't find one that suited their needs so I made it for them. This scripts waits a given time after a user joins or talks in a channel to kick them. Only affects regular users, v/h/o/a/q not affected.

pball commented on a Page, Toolbar Digital Clock  -  Dec 29, 2011

I figure I could do a blinking colon. I just played around a bit and I'll probably be better off rewriting the parts that position stuff to make them more dynamic. So I'll be doing more updates when I get less lazy lol

 Respond  
pball commented on a Page, Toolbar Digital Clock  -  Dec 28, 2011

I think I might start making the display more customizable. Being able to choose whether to show seconds or not, showing the date in different formats. Though I don't think I'll do day/month with letters, just numbers, since making nice looking letters would be a pain, lol.

 Respond  
pball commented on a Page, Toolbar Digital Clock  -  Dec 27, 2011

You forgot the best part of not using images, being able to dynamically choose colors

 Respond  
pball commented on a Page, Toolbar Digital Clock  -  Dec 27, 2011

Well I was just going to have a dialog with editboxes for rgb colors, but since you had to step it up I'll be doing scroll bars and the editboxes. So you can either just type in the number you like or scroll around for something.

You can use /did -c tablename id value to move scroll bars, it's not really documented but i knew one of the things for selecting stuff had to work with scroll bars.

 Respond  
pball created a Page  -  Dec 27, 2011
3 911 

Firstly I'd like to give a shout out to xdesoto since his clock script gave me the idea to do this. Secondly this script is completely different than his in all but the fact they are both digital styled clocks.

pball commented on a Page, Sticky Note Custom Window  -  Dec 24, 2011

well i've just started playing with a custom window with a side listbox and there is a major problem. you can only have the side part be a listbox, can't get both parts to be listboxes. So that means a no go on setting it up using a one window.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 24, 2011

well i might just go for the "e" key since it's editing that line in the notes and not inserting anything then, but i have something else on my mind right now

 Respond  
pball commented on a Page, Digital Clock  -  Dec 24, 2011

just updated my post above to add a feature so you can click it to switch 12/24 hour mode and a little bug where am/pm wouldn't be shown.

xdesoto you started quite the craze here with clocks, lol. how long until someone makes an analog clock?

update:
there was a competition 11 or so years ago about making an analog clock in mirc

 Respond  
pball commented on a Page, Digital Clock  -  Dec 24, 2011

Yeah I shrunk them because the original size forces the toolbar to get larger, which was annoying as it threw off window positions and such.

 Respond  
pball commented on a Page, Digital Clock  -  Dec 24, 2011

Well just so you don't feel so bad I didn't have the images linked until now, though i did explicitly say they needed to re-sized to 16px tall

 Respond  
pball commented on a Page, Digital Clock  -  Dec 24, 2011

Abcdefmonkey you aren't understanding what I say. You have to resize the pictures manually inside a photo editing program. or I'll just post an archive of them if that's too hard to understand.

USE THESE PICTURES FOR THE SCRIPT I PASTED
http://www.mediafire.com/?amb99ah60gqt0ns

 Respond  
pball commented on a Page, Digital Clock  -  Dec 24, 2011

Abcdefmonkey did you resize the pictures to 16px high? because that's what I did to make everything fit

 Respond  
pball commented on a Page, Digital Clock  -  Dec 24, 2011

Firstmate that may be true but mine uses pictures and not text. One because I couldn't find a fixed width font I liked and two I was just going for the digital clock look like xdesoto was.

 Respond  
pball commented on a Page, Digital Clock  -  Dec 23, 2011

Well I went with what Firstmate did at first but I wanted a fixed width font which i didn't find in a digital clock style. So I went and jacked the pictures used in the original script and made a toolbar clock.

(Update) I added 12/24 hour time. type /clock to start in 24 hour mode and /clock 12 to use 12 hour mode. You can switch back and forth while it's running and /clockoff stops and removes the clock. Also it'll set itself to start on start if you exit with it open.
(update 2) removed leading 0 when in 12 hour time.
(update 3 or so) clicking the clock switches it between 12/24 hour time and I fixed a little bug where the am/pm wouldn't show up if you started with 24 hour then switched to 12 while it was running

DOWNLOAD THESE PICTURES FOR MY SCRIPT
http://www.mediafire.com/?amb99ah60gqt0ns

alias clock {
  if (!$toolbar(clocksep)) toolbar -is clocksep
  if (!$window(@clock)) window -nBj2kpw0 +f @clock 0 0 117 22
  if (!$toolbar(clock)) toolbar -aux clock "" @clock 0 0 $iif($1 == 12,111,82) 16
  clear @clock
  set -l %time $asctime($iif($1 == 12,hhcnncsstt,HHcnncss))
  set -l %num 1
  while ($mid(%time,%num,1) != $null) {
    if ($mid(%time,1,1) != 0) || (%num != 1) || ($1 != 12) drawpic @clock $gettok(0 12 24 29 41 53 58 70 $iif($1 == 12,87 99),%num,32) 0 $scriptdir $+ $mid(%time,%num,1) $+ .jpg
    inc %num
  }
  toolbar -pu clock @clock 0 0 $iif($1 == 12,111,82) 16
  toolbar -l clock "/clockchange"
  .timerclock 0 1 clock $iif($1 == 12,$v1)
}
alias clockchange { clock $iif($timer(clock).com == clock 12,,12) }
alias clockoff {
  .timerclock off
  toolbar -d clocksep
  toolbar -d clock
  window -c @clock
}

on *:exit: if ($timer(clock)) set %startclock $timer(clock).com
on *:start: if (%startclock) { .timer 0 1 %startclock | unset %startclock }
 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 23, 2011

I'll see what I can do with the side listbox idea, then only one note window would be needed. Yeah I was also thinking about seeing if entries could be edited. Perhaps selecting a single line and hitting a key like "e" for edit would put that line back in the edit line and when you hit enter it'd replace that line with the new text. I think having a key to initiate the edit would be easiest since you wouldn't know if a selected line is supposed to be edited other wise.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 23, 2011

You can select one or multiple lines in a note and press the delete key on the keyboard to remove them. I made this script with a todo list in mind. So you can add multiple items and remove them later.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 23, 2011

You can't wordwrap with listbox mode, which I've said twice in my comments. Like the comment above your last one.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 22, 2011

You are misinterpreting how the notes are formatted. There is the name of the note @Note_1 and the content, which is made up of separate lines due to using the listbox mode of the @window. So the ini would be formatted like so.

[@Note_1]
[size]= 100 100 300 200
1=line 1 of note
2=another line of note
3=and so on

I also realize having the window be in listbox mode has disadvantages like lines don't wrap so the length of a line is limited to how wide you can make the window. However I wanted to be able to add multiple items to the note and be able to interact with them, something I don't know if you can do with normal lines in an @window

I wanted this to be a simple system so I used built in things like @windows, if you want a complex note system a dialog would be the best method but it's not what I was going for.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 22, 2011

wow I like there is finally on topic discussion for one of my scripts. but for something that started as a three line script things are getting complex fast. for the argument of long lines, that shouldn't be a problem for multiple reasons. the window is a listbox so lines don't wrap so you can only see the part of the line that fits in the window and this is a notes script and the point of a note is a short message to remember something.

also personally i feel an ini would just be easier than trying to create some structure to manage different notes when inis have sections and such.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 21, 2011

actually Jethro is on the right track. [] work fine in ini files in pre v7 and post v7 mirc, though if you update from pre v7 to post v7 you have to manually change the ~~ to [] since v7+ changed the ini routine or something. I encountered that in my WB script and having to manually change the ini file when switching from 6.xx to 7.xx was the only problem.

 Respond  
pball commented on a Page, Sticky Note Custom Window  -  Dec 21, 2011

There shouldn't be any problem with [] in the text inside an ini, even the title can have [] in it and it'll work fine. In older versions of mirc [] were changed to ~~ in the title portions of inis but not with mirc7.

Yeah I know the code is messy looking, but I purposely did that ^_^
Though I do end up unjumbling it every time I work on it, lol.

 Respond  
pball created a Page  -  Dec 20, 2011
1 566 

This is a simple script that lets you take notes inside a custom window.

pball commented on a Page, Auto Join dialog  -  Dec 16, 2011

Two things, one where is the part that auto joins and two you should probably remove parts if they aren't included. Like the $cdir you should either include that custom identifier or remove it and edit the script so people can use it without editing it themselves. I personally feel scripts should work out of the box, especially if they are being publicly posted.

 Respond  
pball commented on a Page, Auto Identifiers  -  Dec 16, 2011

One question, where the part that auto identifies you?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.