Geckat

Geckat

Joined:
Jun 21, 2009
Occupation:
Psychology major
Location:
Alberta
Website:

Activity Stream

Geckat posted a Snippet  -  Jan 05, 2013
Geckat commented on a Snippet, Heart Thunder  -  Jun 10, 2012
Thanks much; I'll try all that and see how it goes. Cheers.
 Respond  
Geckat commented on a Snippet, Heart Thunder  -  Jun 09, 2012
Actually, will that work for

Code

 

as well?
ie

Code

 
 Respond  
Geckat commented on a Snippet, Heart Thunder  -  Jun 09, 2012
Will do, thank you. :)
 Respond  
Geckat commented on a Snippet, Heart Thunder  -  Jun 06, 2012
It's adding a space in there. Unfortunately doesn't show up in the new code window.
 Respond  
Geckat commented on a Snippet, Yet Another Timebomb Script  -  Jun 06, 2012
If you modify it to make it more efficient, that would be phenomenal. You should definitely let me have a look in that case so I can learn from it; I'm still very much just an occasional hobbyist :) . Thanks!

In future scripts I'll look into merging text events. It just seems weird to me that having a script always trigger on every text event, even if it's only one line, would be more efficient. I'll also look into hash. It's something I've never seen or heard of.
 Respond  
Geckat posted a Snippet  -  Jun 06, 2012
Geckat commented on a Snippet, Yet Another Timebomb Script  -  May 27, 2012
Alright, thanks. It would mean some variables would be able to be local, if I recall, but only maybe one or two if any. Still need to fix the issue where aliases are necessary if I have multiple lines tied to one timer.
 Respond  
Geckat commented on a Snippet, Yet Another Timebomb Script  -  May 27, 2012
Ah, that. Wouldn't the number of lines then be exactly the same? It would also trigger parts of the script every time someone sends text. I was under the impression this was a Bad Thing™.
 Respond  
Geckat commented on a Snippet, Yet Another Timebomb Script  -  May 26, 2012
I'm not sure how I would do that, unless I've been misinformed on how timers work with each line. I take it you mean each series of text events would be combined, rather than every single text event in the script combined into a single one?
 Respond  
Geckat commented on a Snippet, Yet Another Timebomb Script  -  May 25, 2012
Local variables wouldn't have allowed me to use aliases, which are necessary for the timers. In any case, unless the script screws up for some reason, all variables set are unset at the end of the script.

Thanks.
 Respond  
Geckat posted a Snippet  -  May 24, 2012
Geckat posted a Snippet  -  May 24, 2012
Geckat commented on a Snippet, Demode all users  -  Feb 21, 2011
I agree, admin. I run a forum along with a channel, and the only posts I ever delete are those of spambots (backlinks and whatnot). When I decide to go on Hawkee when I'm actually awake, I'll make a point of cleaning up this thread, though, now that this has all been said and done. Just for cleanliness's sake.

@ Mosh: I will definitely look at those identifiers and see if I can't work them into the script. I also wasn't aware it was common for mode/line limits to be stringent on servers. Dynastynet just underwent a system change, so perhaps I should find out and make sure.
 Respond  
Geckat commented on a Snippet, Demode all users  -  Feb 17, 2011
Wow, thanks for all the comments, guys! I really appreciate all the constructive advice I got, and I'm glad you're all enjoying the script so much. Please feel free to spam up my other scripts as well!

Dunno what $modespl is, but Jethro's always been a big help before so I'll give it a look sometime. I'm sure it can be incorporated.

Thanks for the comment, Litch, and glad you like the script. I was a tad surprised to see 52 notices on this script, but I suppose I should leave these comments here until some moderation can be done. Far as I can see, nothing was done about Dean.

Sunny, that image is perfect, and it's so true (at least on my goofy channel). I've half a mind to put it up on the Mibbit client we have on the site as a joke.

Pretty much all the rest of you should A) stop trolling, B) stop being so trollable, and C) gtfo my snippet.
 Respond  
Geckat posted a Snippet  -  Feb 16, 2011
Geckat commented on a Snippet, ID Address by Nick  -  Dec 28, 2010
Aye, this was the first script I'd written using files of any sort. Thanks for noticing :P .

Whole lines needn't be erased in this script because of that dash you noted, jaytea. That dash, combined with the lack of a third value in the command, created the problem Back2Life had. Because it only takes the first and second tokens in a line, divided by spaces, even if the line is <address> <name> -fgh, that part remaining of the "old" line will not affect the output - as long as there is in fact an address and a name as the first two tokens of the line :P . I've made it so the file is not written to otherwise any longer, so the problem should vanish, but I would be very interested in learning how to overwrite a full line.

I will also look into /write and $read. I used them sparingly, because I couldn't find much for assistance on mIRC's help file or other resources (or examples in scripts I currently use), and because I don't believe it's possible to use /write to actually overwrite a certain line (or part of it, as it were). Even removing a couple lines to avoid opening and closing a file repeatedly is something worth doing. I'll also look into /filter; I can't say I've ever even heard of it before.

Thanks for your comments, jaytea and Jethro.
 Respond  
Geckat commented on a Snippet, ID Address by Nick  -  Dec 27, 2010
Thank you. And yes, your problem was caused by the command syntax thing. I've updated with a return for that mistake that'll prevent the file from buggering up if anyone makes the same mistake you did. I recommend you overwrite the script with the new version now here. Thank you for pointing it out, and I hope it continues to work properly for you.
 Respond  
Geckat commented on a Snippet, ID Address by Nick  -  Dec 27, 2010
Not sure what that dash replacing the first character in the name is about. I haven't had the issue, but will look into it. I wonder if you could send me a log of your entire test of the script from start to finish, as well as ID.txt.

The syntax to change a name associated with an address (or add a new address to the list) is

Code

 


I will put in a return for $3 == $null. That's the reason you were associated with a blank name.

Might not have been descriptive enough about what the script does. It associates a name with an address so that, instead of running a /whois on someone whose identity you are unsure of and hoping to recognize the address from before, you can instead call up a name - either automatically or manually defined - previously associated with the user's host. For instance, my usual nick is Yitik. If I popped on your channel as Yitik, I would be defined as such, and then if I later came in as an unregistered nick of another user who frequents your channel, you could easily see just who I am in plain English.
 Respond  
Geckat posted a Snippet  -  Dec 27, 2010
Geckat liked a Snippet, Pandoras Talking Bot  -  Sep 12, 2010
Geckat commented on a Snippet, Pandoras Talking Bot  -  Sep 12, 2010
I've only messed with this for a few minutes, but I think my chat will love it. They've been asking me for something like this ever since they were exposed en masse to GeniusBot, and I've told them that it's not possible. Well, I guess it is. I wish I understood sockets better. A very amusing script, and an easily run one as well; I'll throw caution to the wind and give you 10/10, because you certainly deserve it for even attempting the creation of something this comprehensive.
 Respond  
Geckat commented on a Snippet, Dice Poker  -  May 23, 2010
Fixed the timers. In my defense, I'm running the script on a bot, and I just assumed people would be doing the same. Since the only time I'll ever be looking at the window is when something isn't working, echoes are usually a good thing ;) .

Abstaining from using square brackets to identify variables wasn't working for me. In fact, this is one of the recurring sources of my headaches.

On the opting in command, honestly, none of my chat has accidentally said "oink" or something to that effect to start a message during the ten seconds or so before a game actually starts, so I'll personally be leaving it. I'll change the code here on Hawkee so that it includes the exclamation mark.
 Respond  
Geckat commented on a Snippet, Dice Poker  -  May 22, 2010
Alright, thanks.
 Respond  
Geckat posted a Snippet  -  May 22, 2010
Geckat commented on a Snippet, JinxBot  -  Sep 03, 2009
I'm a guy. The reason the bot is a girl is because she's called MidnaBot. We're at #wmb on DynastyNet. MB is actually absent until Tuesday, though, since I'm away from my desktop till then.
 Respond  
Geckat commented on a Snippet, JinxBot  -  Sep 03, 2009
This is a bot script, and no, it doesn't ;) . My bot voices herself.
 Respond  
Geckat commented on a Snippet, JinxBot  -  Sep 02, 2009
Thanks Tzar, and Jethro :D . I honestly expected people to be like "lol n00b", but not only did I get positive feedback but I got a solution to my problem! You guys rule.

Also, seems Tzar's replacement line works best (and yes, I did fix the typo in Jethro's). Thanks a ton :) .
 Respond  
Geckat posted a Snippet  -  Sep 01, 2009
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.