Oct 18, 2010
Eastern United States

Activity Stream

IllogicTC commented on a Page, Mp3 Script  -  Jun 30, 2013

Not sure on the bug, but check line 72. Everywhere else the dialog is referenced using "mp3player," but in this one line you have just "mp3."

Also, I see under the alias randomsong you're setting global variables when you could get by using the temporary /var function. %mp3.num and %mp3.ran2 can be set with a var instead, since they aren't ever used outside the alias and only set up data for the next script line.

IllogicTC commented on a Page, Money Variations  -  Jun 30, 2013

I would find this more interesting to use in your example for a game or something if it wasn't forcing the $ on the beginning. Maybe have some variable to set what character(s) you want pre- or suffixed to the number? Like you could have the $12,345 by default, or you could make it use the Euro symbol, or say 12,345GP for those good ol' medieval style games.

It would also be interesting to be able to make this output WITHOUT commas. Let's say someone uses a command called !givegold Ted, which gives user Ted some amount of their gold in a game script. This snippet would allow the someone to go !givegold Ted 2k, and have it automatically give 2000 gold to Ted, instead of having to type it out.

Just some thoughts.

IllogicTC commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Jun 11, 2013

Just made my first update in a quite a while. Changes are listed up top at the bottom of the description.

IllogicTC commented on a Page, NiCK CoMPLeToR  -  Apr 16, 2012

The only thing you need to set as a global variable is %nc.status.on, since it is used in different aliases and commands. All the other variables should be set as local variables using the var command, as to not bulk up users' variables file unnecessarily.

IllogicTC commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Apr 14, 2012

Major setback, had to do a Windows re-install (bleh), and then have been having personal issues around the home. I promise I'll get back on this at some point, when my motivation has returned more.

IllogicTC commented on a Page, Decode Yahoo "Y" cookie   -  Feb 11, 2012

The -l just localizes the alias to the script file it's saved to.

Try using:

/dialog -m y_cookie y_cookie

IllogicTC commented on a Page, Decode Yahoo "Y" cookie   -  Feb 09, 2012

Although I probably wouldn't use this, this is a very unique snippet indeed.

Good work on this.

IllogicTC commented on a Page, mIRCB - mIRC Bouncer  -  Feb 03, 2012

Used to operate a sorter system with a computer using Win2000 Server. Worked great. Easy interface, of course, and uptime never caused an issue. They did a yearly purge and reset just to be sure, and that was about it.

IllogicTC commented on a Page, Simple Youtube Downloader  -  Jan 16, 2012

Why won't it let me like it more than once nor rate it higher than 10 ;.;

IllogicTC commented on a Page, Simple Youtube Downloader  -  Jan 11, 2012

"$30 for JUST THAT!? Man, at that rate, you may as well think you're missing some zeros there, Movie Company. In fact, I think you're missing some zeros, too. As in, $00 HELLO TORRENT!"

I don't actually torrent, that is just how I imagine torrenters going about their business.

IllogicTC commented on a Page, Simple Youtube Downloader  -  Jan 10, 2012

Sounds like how I had to strip DRM from some songs by giving it a go through Audacity to be able to burn them to CD. I bought the songs from Amazon, digital copies of course, and wanted to make my own physical copy of it. TRY TO STOP ME, WILL YOU!? loads up Audacity

IllogicTC commented on a Page, Simple Youtube Downloader  -  Jan 06, 2012

Speaking of audio-only, it doesn't automatically delete the source file when it's done for me.

OS: Windows 7 Home Premium.
mIRC Version: 7.17
Downloading to: C:\Users\Guest\Music\

No error codes are given, works great, just doesn't delete the original video.

IllogicTC commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Jan 06, 2012

Yeah, I noticed the diagonal movement. Seems like bullets travel a little faster in those directions, too. I'll just have to do something to compensate and even it all out.

I did the herding, also, running an octagon-like pattern around the edge then pulling off to one corner of the map and firing like mad.

Think about it though, it's kinda like having a square and running a diagonal line through the square. The square is 3 inches on all side. When you travel in a cardinal direction, you're traveling 3 inches to the next point. But when you travel the diagonal, you're actually traveling about 4.24 inches from one point to the next. Ah, back to basic geometry, but this is the same principle showing up in the game.

IllogicTC commented on a Page, Simple Youtube Downloader  -  Jan 05, 2012

Well, since I usually run on Guest, and the old lady's got the admin access (her computer, seemed fair enough though I PAID FOR IT lol), thought I couldn't get this going.

Remembered I had a clean-slate version of mIRC 7.17 on a thumb drive. Works great :D

IllogicTC commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Jan 05, 2012

Update coming soon.

Things completed in the update:

Invincibility Pickup (not only gives you invincibility for a short time, but zombie attacks HEAL you while invincible. Rare pickup.)

Pickups now flash when they are about to disappear.

Slight modification to the rarity of a machinegun pickup. When I played my full round, after building up over 2500 bullets for the machinegun and not being able to get rid of them faster than I could find them, I figured I should balance this out. I may also implement a maximum ammo capacity.

Working on:

Hit "zones." Instead of checking every bullet against every zombie to see if there's a hit, the bullet will now only check zombies within the "zone" it is in. I'm working out the bugs on zombies standing on a borderline between two zones, where a hit doesn't register, and the lag induced by having many zombies onscreen with this setup. However, bullet updates don't seem to affect performance so much now :D

IllogicTC commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Jan 03, 2012

@Kiddo96: After making my previous comment here, I decided to have a play.

I playtested this quite a bit, but I used a lot of hash table manipulation and whatnot to shortcut myself to possible scenarios, and otherwise just played through maybe 250 zombies in a semi-legitimate game. I had never, EVER sat down for a serious session, where I just started it, left the script and hashtable alone, and just tried to honestly see how far I could SERIOUSLY go, rather than just testing for a while and giving up.



Got a bit bored after a while because I have other things on my mind, and stopped picking up health. Otherwise, who knows how far I would have gone :P

IllogicTC commented on a Page, Zombie Shooter (Updated 06/11/13)  -  Jan 03, 2012

Thanks everyone for the likes so far, and for getting 250 views on this page. I am working on an update to provide more things, but I've been distracted by a lot of other things right now, so I don't currently have as much time as I would like to dedicate to this. I'm sorry for the delay.

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

Eye-candy suggestion: For the mode where it just shows hours and minutes, have the colon separating them alternate between lit and unlit states, like a watch does.

As for one-upping with the scrollbars, I just did that because I figured it would be a bit easier for the average user to pick up and use. Slide it, and see the result immediately, rather than having to type numbers in to fine-tweak lol. Good knowledge on the did -c :D +1 for that.

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

Very nicely done. Doing the numbers in-script rather than having to grab more files makes this much more user-friendly, very grab-n-go.

As for the colors, here's my take. It's nowhere near perfect, I'm still tinkering with it. Also I can figure out how to give a scrollbar a value when initializing a dialog... so it's bugged in a way. But works? I dunno.

alias clock {
  if (%clock.colors == $null) set %clock.colors 0 255 0
  set %startclock clock $1
  if (!$toolbar(clocksep)) toolbar -is clocksep
  if (!$window(@clock)) window -nBj2kpw0 +f @clock 0 0 117 23
  if (!$toolbar(clock)) toolbar -aux clock "" @clock 0 0 $iif($1 == 12,111,82) 17
  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) numbers $mid(%time,%num,1) $gettok(0 12 24 29 41 53 58 70 $iif($1 == 12,87 99),%num,32)
    inc %num
  toolbar -pu clock @clock 0 0 $iif($1 == 12,111,82) 17
  toolbar -l clock "/clockchange"
  .timerclock -m 0 1000 clock $iif($1 == 12,$v1)
alias clockchange { clock $iif($timer(clock).com == clock 12,,12) }
alias clockoff {
  unset %startclock
  .timerclock off
  toolbar -d clocksep
  toolbar -d clock
  window -c @clock

on *:start: if (%startclock) { .timerclock 1 1 %startclock | unset %startclock }

alias numbers {
  var %a = $1, %b = $2
  tokenize 32 %clock.colors
  if (%i == c) {
    drawline -r @clock 1264139 1 $calc(%b + 1) 3 $calc(%b + 4) 3
    drawline -r @clock 1264139 1 $calc(%b + 1) 5 $calc(%b + 4) 5
    drawline -r @clock 1264139 1 $calc(%b + 1) 11 $calc(%b + 4) 11
    drawline -r @clock 1264139 1 $calc(%b + 1) 13 $calc(%b + 4) 13
    drawline -r @clock $rgb($1,$2,$3) 3 $calc(%b + 2) 4 $calc(%b + 2) 4
    drawline -r @clock $rgb($1,$2,$3) 3 $calc(%b + 2) 12 $calc(%b + 2) 12
  drawline -r @clock $iif(%a isin ap02356789,$rgb($1,$2,$3),1264139) 1 $calc(%b + 2) 1 $calc(%b + 10) 1
  drawline -r @clock $iif(%a isin ap02356789,$rgb($1,$2,$3),1264139) 1 $calc(%b + 3) 2 $calc(%b + 9) 2
  drawline -r @clock $iif(%a isin apm045689,$rgb($1,$2,$3),1264139) 1 $calc(%b + 1) 2 $calc(%b + 1) 7
  drawline -r @clock $iif(%a isin apm045689,$rgb($1,$2,$3),1264139) 1 $calc(%b + 2) 3 $calc(%b + 2) 8
  drawline -r @clock $iif(%a isin apm0268,$rgb($1,$2,$3),1264139) 1 $calc(%b + 1) 10 $calc(%b + 1) 15
  drawline -r @clock $iif(%a isin apm0268,$rgb($1,$2,$3),1264139) 1 $calc(%b + 2) 9 $calc(%b + 2) 14
  drawline -r @clock $iif(%a isin 023568,$rgb($1,$2,$3),1264139) 1 $calc(%b + 2) 15 $calc(%b + 10) 15
  drawline -r @clock $iif(%a isin 023568,$rgb($1,$2,$3),1264139) 1 $calc(%b + 3) 14 $calc(%b + 9) 14
  drawline -r @clock $iif(%a isin apm01234789,$rgb($1,$2,$3),1264139) 1 $calc(%b + 10) 2 $calc(%b + 10) 7
  drawline -r @clock $iif(%a isin apm01234789,$rgb($1,$2,$3),1264139) 1 $calc(%b + 9) 3 $calc(%b + 9) 8
  drawline -r @clock $iif(%a isin am013456789,$rgb($1,$2,$3),1264139) 1 $calc(%b + 10) 10 $calc(%b + 10) 15
  drawline -r @clock $iif(%a isin am013456789,$rgb($1,$2,$3),1264139) 1 $calc(%b + 9) 9 $calc(%b + 9) 14
  drawline -r @clock $iif(%a isin ap2345689,$rgb($1,$2,$3),1264139) 3 $calc(%b + 4) 8 $calc(%b + 7) 8
  if (%a == m) {
    tokenize 32 %clock.colors
    drawline -r @clock $rgb($1,$2,$3) 1 $calc(%b + 2) 1 $calc(%b + 4) 1
    drawline -r @clock $rgb($1,$2,$3) 1 $calc(%b + 3) 2 $calc(%b + 5) 2
    drawline -r @clock $rgb($1,$2,$3) 1 $calc(%b + 4) 3 $calc(%b + 8) 3
    drawline -r @clock $rgb($1,$2,$3) 1 $calc(%b + 5) 4 $calc(%b + 7) 4
    drawline -r @clock $rgb($1,$2,$3) 1 $calc(%b + 7) 2 $calc(%b + 9) 2
    drawline -r @clock $rgb($1,$2,$3) 1 $calc(%b + 8) 1 $calc(%b + 10) 1

alias clockcolor { dialog -m clock_colors clock_colors }
dialog clock_colors {
  title "Clock Colors"
  size -1 -1 96 41
  option dbu
  scroll "", 1, 2 4 92 8, range 1 32 horizontal bottom
  scroll "", 2, 2 17 92 8, range 1 32 horizontal bottom
  scroll "", 3, 2 30 92 8, range 1 32 horizontal bottom

on *:dialog:clock_colors:*:*: {
  if ($devent == scroll) set %clock.colors $calc(($did($dname,1).sel * 8) - 1) $calc(($did($dname,2).sel * 8) - 1) $calc(($did($dname,3).sel * 8) - 1)

Use /clockcolors to open the color selection script. The three bars adjust the RGB values of the lit "LEDs," as you move them. There are 32 intensities for each colours channel.

Like I said, my work on custom colors needs (quite a bit) of work. You can either stem off of what I have so far here, or well use your imagination! Having customization is a love of mine, and I would like to see this script have more options in the future. ^_^

IllogicTC created a Page  -  Dec 26, 2011
1 873 

This is a small collection of snippets I decided to make. This code is intended for a bot, and provides some games for channel use.

  1 Thread   mIRC  
IllogicTC commented on a Page, Sticky Note Custom Window  -  Dec 25, 2011

Thanks for trying, pball.

IllogicTC commented on a Page, Digital Clock  -  Dec 25, 2011

I'm one of the people who voted a score on it. :) I voted 7. Maybe if you included the whole alarm clock and stuff, it would go up ;)

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

Since you already use the delete key for deleting, how about using the Insert key to bring up the selected line for editing?

IllogicTC commented on a Page, Digital Clock  -  Dec 24, 2011

Couldn't you just specify w and h in the drawpic command, or use the -s switch, to adjust the picture to the size you need? Of course, looks sloppy when making the pictures bigger, and probably is more costly on resources than just doing a manual resize of the source images yourself before using....

Also... why didn't any of us think to use -c in the drawpic? Probably wouldn't make too much of a difference with the way it runs anyway, but you may as well cache them since you'll be reusing them again and again until the clock is closed.

Also, @pball: Analog clock has already been done by BlueThen, years ago lol. It was the script that I used for reference to learn how to draw lines in any specific angle ^_^

Also, maybe someone could include elements of my Higher-Resolution Timestamp snippet to give the time which includes hundredths of a second, for those who really need to know the EXACT TIME lol. Wonder how laggy it would be?

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

Having a side listbox with all the notes that are saved shown in there for viewing/editing/deleting would indeed be a good idea, Firstmate. Maybe it's on the to-do list already?

@pball: Ah, okay! Will there be other things like editing entries in the future?

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

Gotcha gotcha. Been so long since I played with a window in Listbox mode :|

Why not limit the length of a single input, then? I'm sure there are some people who would try to enter in a decent length of text, and will be mad that they have to adjust the window size to see it. They'd be even more mad if for some reason they couldn't figure out that you can adjust the window size to see more text. I do understand the purpose of this is for short little notes, but sometimes people can't trim what they want in one entry down enough to fit the constraints.

And on the note of interacting with notes.... what interaction is built in so far? Because I can't find any... :( is there some feature I'm missing here?

IllogicTC commented on a Page, Digital Clock  -  Dec 22, 2011

@blacvenomm666: If you would like to replace your original submission with the one I posted in the comments above, go ahead. It's still pretty much your code, just with a lot of redactions that I made. The modifications I made in some areas wouldn't account for much, so it's still within guidelines.

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

Yeah after playing with it a bit more I realized the format. As for dialogs, just saying it was my taste, @Windows server your purpose just as well don't they? :D

As for the line length, take a look at using the -p switch on your aline command under note entry. This would force it to wrap if it's too long. Otherwise unless I broke everything up manually, it'll be a mess if I do a decent ramble in one entry. When writing what's in the @Window to the save file (or INI when updated), even though one entry is split up amongst two or more lines, mIRC will remember that it's all one line and enter it as such to the file.

//window -d @Test -1 -1 300 300 | /aline @Test This is Line 1. This is a test without word wrapping. You can see that it's messy (but mainly because this window is so small) | /aline -p @Test This is Line 2. You can see here that this line is broken up amongst several lines for display within the window. | /echo -s $line(@Test,0)

Copy that and paste it in your mIRC's editbox. You can see that even with word-wrapping, mIRC still reports there are only 2 lines there.

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

How exactly would your INI be structured?

title=This is my First Note!
body=And this is the Note I left myself.


Unless you're going to have multiple items in a section (like this), INI wouldn't do much good. Of course, title and body are just the beginning... you could have a lot of other settings for a particular note saved in the same section, if you can think more stuff up.

A different way to do things would be to have a dialog with an editbox, a text box, and a list. The list is filled with all currently saved notes' titles, and when you double-click one it opens it up in the textbox (and in the editbox for editing). Of course, there would be a save function on it as well. I myself don't see the @Window being the best form of presentation of your system, but that's just my tastes.

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.