hixxy

hixxy

Joined
Oct 18, 2005
Occupation
Legal Secretary
Location
England
Website
Interests
My Fiancee, driving, travelling, music, computers, law

Activity Stream

hixxy commented on a Page, !Time (PST)  -  Jan 15, 2012

I don't use the date and time identifiers very often, I thought $gmt returned a value in a hh:nn:ss format but I see now it doesn't :P I tested it by changing the date of my PC to 26/3/12 (day after the clocks go forward an hour here) and it returned the correct value, but I've just realised it didn't change the time automatically when I did it that way, so yeah you don't need $daylight :P

A simple:

alias pst { return $asctime($calc($gmt - (8 * 86400)),hh:nn:ss) }

Will do :P

Cheers

 Respond  
hixxy commented on a Page, !Time (PST)  -  Jan 15, 2012

alias pst { return $asctime($calc($ctime($date $gmt) - (8 * 84600) + $daylight),hh:nn:ss) }

This will return the time in PST.

 Respond  
hixxy commented on a Page, Variable reader ($vget)  -  Jan 14, 2012

Spoof: echo 7 -ae is the correct format...

 Respond  
hixxy commented on a Page, Variable reader ($vget)  -  Jan 13, 2012

WorldDMT: I've done it that way because I see little point in specifying an ascii number when you can just put the actual character in the parameters. For example, say I have a variable called %text.#hawkee.hixxy, it's easier to use $vget(text.,$chan,.,$me) than it is to have to specify the ASCII number!

hixxy commented on a Page, /exec  -  Jan 12, 2012

I only responded like that because of the manner in which you wrote your initial comment. You implied my script was broken rather than asking for help.

The two example scripts work fine. Try them :)

 Respond  
hixxy commented on a Page, /exec  -  Jan 12, 2012

Which part of my documentation isn't clear enough?

This is the part of my documentation that shows the code examples:

1)
exec VBScript $&
  While MsgBox("Do you like my snippet?", vbYesNo) <> vbYes $crlf $&
  Wend
2) echo -a $exec(VBScript, Now)

This is how you used the script:

 var %code = exec VBScript $&
  While MsgBox("Do you like my snippet?", vbYesNo) <> vbYes $crlf $&
  Wend
echo -a $exec(VBScript, %code)

That is nothing like what my documentation says.

Feel free to provide constructive criticism of my documentation and/or the script itself. So far your claims are baseless.

 Respond  
hixxy commented on a Page, Mass room dropper  -  Jan 12, 2012

Nice idea but seems like it would be more efficient to delete the rooms you DO want to keep, then you could just drop everything that's listed in the file without the need for a second /list :P

 Respond  
hixxy commented on a Page, /exec  -  Jan 12, 2012

It worked, you just used it wrong. The script that you've now deleted was incorrect.

 Respond  
hixxy commented on a Page, /exec  -  Jan 12, 2012

I have no idea, you clearly couldn't use it so I'm not sure.

 Respond  
hixxy commented on a Page, /exec  -  Jan 11, 2012

Only just noticed this comment. I provided a working example. What you've done is butchered my example and then said it doesn't work. Look at what I wrote and what you wrote...there's a difference.

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

I have no idea why that regsubex shortcut is so popular when it can only support small channels. Mircs string limit is 4000 and something chars, so that script wouldn't work in a 100 user channel if everyone had nicknames only 5 characters long. A lot of nicks are longer than that, so in reality it will crap out on considerably smaller channels.

Just use a while loop. It may be longer but it's more suitable for the task at hand. We should never sacrifice functionality just to have a smaller script.

 Respond  
hixxy commented on a Page, Variable reader ($vget)  -  Jan 11, 2012

Good idea but could be simplified considerably.

alias vget { return $(% $+ $remove($1-,$chr(32)),2) }
 Respond  
hixxy commented on a Page, Simple Voice Halfop Op snippet  -  Jan 11, 2012

Here's my take (supports both nickmodes and channel modes):

on @*:input:#:{ 
  if ($regex($1,/^[+-][ $nickmode ]/x)) {
    if ($2 !ison $chan) { echo 4 User $qt($2) is not currently on the channel. }
    else { mode $chan $1- }
  }
  elseif ($regex($1,/^[+-][ $remove($chanmodes,$chr(44)) ]/x)) { mode $chan $1- }
}
 Respond  
hixxy liked a Page, /pause  -  Feb 24, 2011
hixxy liked a Page, Quine  -  Feb 24, 2011
hixxy commented on a Page, Quine  -  Feb 24, 2011

It's not supposed to be a useful script.. not all code snippets have to be useful guys. mIRC scripting is a hobby for most people, so developing things that are challenging, albeit useless, is quite fun.

This is a prime example of such a snippet.

Nice work jaytea! A quine is one of the few things I've never been able to figure out on my own :P

 Respond  
hixxy commented on a Page, /pause  -  Feb 24, 2011

FiberOPtics, qwerty and jaytea - the three scripters I respect the most and recognise as the best.

Shame FO quit a long time ago and I rarely see qwerty these days! :-(

But yeah, snippets on this website really do get lower scores than on other sites. I think it's because this site has more of a "social" feel to it.

 Respond  
hixxy commented on a Page, Download files  -  Sep 16, 2007

I posted the script back in 2005/06, but I don\'t want it on here anymore because I rarely script and I get a lot of spam from my email address being published on these kind of websites.. guess we can\'t delete our own scripts on here though.

 Respond  
hixxy created a Page  -  Sep 15, 2007
511 
hixxy commented on a Page, Findu  -  Sep 13, 2007

Found hixxy on irc.swiftirc.net
hixxy in channels \'@#hixxytest\' on irc.swiftirc.net

How are you using the command?

 Respond  
hixxy commented on a Page, Whois dialog  -  Sep 12, 2007

dialog Whois {
title \"Dialog\"
size -1 -1 296 206
option dbu
text \"Nick:\", 1, 4 6 12 8
combo 2, 30 5 157 10, drop
text \"Address:\", 3, 4 18 21 8
edit \"\", 4, 30 17 157 10
text \"Name:\", 5, 4 62 16 8
edit \"\", 6, 30 61 157 10
text \"Modes:\", 7, 4 74 19 8
edit \"\", 8, 30 73 157 10
text \"IP:\", 9, 4 86 8 8
edit \"\", 10, 30 85 157 10
text \"Away:\", 15, 4 133 15 8
edit \"\", 16, 30 132 157 21, multi
edit \"\", 17, 30 155 157 10
text \"Registered\", 11, 4 184 30 8
text \"Server:\", 12, 4 121 19 8
edit \"\", 18, 30 120 157 10
text \"\", 19, 4 195 94 8
text \"Help\", 20, 37 184 30 8, center
text \"Secure\", 21, 69 184 30 8, center
text \"Sign In:\", 22, 4 110 23 8
text \"Sign Out:\", 29, 4 110 22 8
edit \"\", 23, 30 108 157 10
text \"Idle:\", 24, 4 156 11 8
button \"E&xit\", 25, 256 191 37 12, ok
text \"Not found in /whois or /whowas listings\", 26, 30 18 102 8
edit \"\", 28, 30 167 157 10
list 30, 193 97 100 80, size
text \"0 Common out of 0 Channels:\", 31, 193 86 98 8
text \"0 Clones detected:\", 32, 193 6 98 8
list 33, 193 17 100 66, size
text \"DNS:\", 34, 4 98 13 8
edit \"\", 35, 30 97 157 10
radio \"Kill\", 13, 4 35 22 8, group
radio \"K-Line\", 14, 4 46 25 8
radio \"Z-Line\", 27, 30 46 25 8
radio \"G-Line\", 36, 56 35 25 8
radio \"Shun\", 37, 30 35 22 8
radio \"GZ-Line\", 38, 56 46 28 8
}

I\'ve given the dialog a little breathing space so it\'s not all shoved together, and I\'ve also aligned your controls so that the left/right/top/bottom borders line up on your dialog. It might sound fussy, but something simple like lining up your controls makes a world of difference to the presentation of your dialog.

I\'m not saying it\'s perfect, but I think it\'s a lot less cluttered and more organised. It\'s up to you whether you use it or not but hopefully you\'ll be able to see the improvements I\'ve made.

 Respond  
hixxy commented on a Page, Whois dialog  -  Sep 12, 2007

Seeing as RoninWarrior didn\'t say what was wrong with your alignment, I\'ll have a go:

  • You have a list of editboxes going down the dialog, but they\'re all different sizes, which means that they\'re not aligned on the right hand side. Make them all the same width, so that they start at the same point on the left and end at the same point on the right. Even if you don\'t need all of that space for the boxes, it\'s space that is otherwise going unused, so there\'s no problem with using up a bit more space to make the dialog look that little bit neater.

  • Your \"Exit\" button is not in line with the combo box next to it. It\'s 1 or 2 pixels up from it.

  • Your \"Common Channels\" box could line up with the bottom of the \"Away\" box and the top of the \"Idle\" box, and if you add a little bit of whitespace you could also make the \"Name\" box line up with your \"Clones\" box at the top.

  • The \"Registered\" text is not in line with the rest of the text down the left hand side of your dialog.

  • Your six radio buttons are just kinda thrown in the middle of nowhere and not aligned with any of the controls around it, and nothing states what they do.

I\'m going to try and reposition everything in your dialog to show you how I think it should look, I\'ll post it later.

 Respond  
hixxy commented on a Page, Findu  -  Sep 13, 2006

Hehe thanks. I might add an interface, but I\'ll make it optional.

 Respond  
hixxy commented on a Page, Download files  -  Aug 25, 2006

Find out if it does and then post back. Download it to somewhere you\'ll remember.

If it doesn\'t download tell me the URL of the file you\'re trying to download and your mIRC version please.

 Respond  
hixxy commented on a Page, Hotmail checker  -  Aug 21, 2006

Fixed a typo causing a custom error message not to display.

 Respond  
hixxy created a Page  -  Aug 21, 2006
844 

Lets you download files from the internet. Supports cancelling, pausing and resuming downloads.

hixxy commented on a Page, Noobie Remote Creator v1.1 (Update)  -  Aug 21, 2006

I don\'t think this will particularly benefit anyone, including newbies, for the simple reason being that it doesn\'t many events and some of the features in it are broken. The dialog is far too big for its purpose and it\'s kinda awkward to work with. For example; why make people press the \"Choose new event\" button to pick another instead of just letting them?

Anyway, not bad for one of your first scripts I guess, but I think it has a lot of room for improvement.

 Respond  
hixxy commented on a Page, Findu  -  Aug 20, 2006

Fixed. It was one of those servers that PINGs you on connect and the script didn\'t handle that. It does now.

 Respond  
hixxy commented on a Page, Findu  -  Aug 20, 2006

How are you using the command and which network are you trying?

 Respond  
hixxy created a Page  -  Aug 20, 2006
447 

See script comments (text between / and /).

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.