bigrat2

bigrat2

Joined
Nov 05, 2008

Activity Stream

bigrat2 commented on a Page, AutoJoin  -  May 19, 2009

Nice!

Only thing I can suggest to change is, give the test fields the "autohs" option.
eg. edit "",6, 145 22 50 10, autohs

This is so you can put more text into them. I had a little trouble fitting some text into one of the text fields. :)

Other than that - awesome! :)

EDIT: Maybe add autoident functionality?

 Respond  
bigrat2 commented on a Page, Yet another mass voice  -  Apr 18, 2009

Why just limit it to mass voice? Add functionality by making it do other modes too :)

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 25, 2009

Or not <.< Never got around to it, too busy. Sorry!

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 15, 2009

K, bug fixed. combobox for servers will be up tonight.

Also, I opted for having the channel password just after the channel. Channel security can be a bit more lax, nickserv passwords are the only one that matter imo :)

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 15, 2009

Thanks to Sasza, I know what the bug is xD Silly mistake with the very first channel you put in. I'll edit a bugfix and let you know tonight.

@Firstmate: Yep. I'm working on that too. That's actually a really easy one to write up. :)

As for passwords to channel, just put them in the channel editbox after the channel name.

e.g. #channelwithpassword password

If you add that, it will work.

Quick question for other lurkers, should I bother making a password field for channels? Or just keep it like that (And edit the hover-over help so it actually says to do that.)

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 15, 2009

Hmm, i've done a fair bit of bugtesting, but it's kind of hard because we all have our clients set up differently. Shouldn't make much of a problem though.

Could you copypaste the ini file it made here? If you can't find it, it's in the mirc settings folder. Like... Documents and settings/application data/mirc/.

Also, I haven't coded in a password for the channel... I'll add that tomorrow after uni =) Kinda tired and working on something else now, should probably get some sleep T__T

EDIT: Actually. Probably best if you didn't. Send it via personal message with server and password fields removed :)

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 11, 2009

Thanks :)

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 11, 2009

Okay, updated with the code that keeps the channels in the same order as before when deleting a channel in the middle of the list.

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 11, 2009

If I get another person to say that keeping the order is more important, i'll chuck it into the actual snippet. Should be obvious which part to substitute for the following code.

;If the delete channel button is clicked, delete the current channel in the combo box from the Settings.ini file
if ($did == 52) {
  if ($did($dname, 45) != $null) {
    set %channels $rs(%tab.scd01, Channels)
    set %n $did($dname, 45).sel
    dec %n
    $rms(%tab.scd01, Room $+ %n)
    did -d scd01 45 $did($dname, 45).sel
    dec %channels
    set %s %n
    while (%n < %channels) {
      inc %s
      writeini Settings.ini Server $+ %tab.scd01 Room $+ %n $rs(%tab.scd01, Room $+ %s)
      inc %n
    }
    $rms(%tab.scd01, Room $+ %n)
    unset %s
    writeini Settings.ini Server $+ %tab.scd01 Channels %channels
    unset %channels
    unset %n
  }
}
 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 11, 2009

K done. :)

For deleting channels, which do you guys think is better?

Lets say you have 10 channels. You wish to delete the 5th channel.

  • Delete the 5th one, then get the 10th channel and place it as the 5th
    [list] Faster, but you lose the order of your channels. I know some people like to have their channels in a particular order.
    [list]
    This is what I implemented.
    [*]Delete the 5th one, move all lower channels up one spot.
  • Slower, but you keep the order of the channels.
    [list]* I have this also coded, just not in the snippet above.[/list][/list][/list]

Let me know if someone would like the other option, i'll paste it here, letting you know what part to swap out.

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 10, 2009

v2.1 will have a combo box for the channels. I've also thought of a few other changes, i'll do those tonight too.

Punktured: I sent you a PM asking for more info. :)

 Respond  
bigrat2 commented on a Page, Auto Connect/Join/Identify v2.1  -  Mar 10, 2009

True; will skip later if's if there's an early match. Ty.

 Respond  
bigrat2 created a Page  -  Mar 10, 2009

Auto Connect/Join/Identify v1.0 [ source: http://www.hawkee.com/snippet/565/ ] had a lot of features and was easy to use, but unfortunately it had a lot of bugs and was written REALLY badly (Sorry to the author, but come on, hard coding 50 join statements for 5 servers each with 10 channels each is absurd).

bigrat2 commented on a Page, -.-Auto Connect/Join/Identify v1.0-.-  -  Mar 09, 2009

Okay, thanks. I'll get it finalised and submitted once I get home from uni.

 Respond  
bigrat2 commented on a Page, -.-Auto Connect/Join/Identify v1.0-.-  -  Mar 09, 2009

Hmm. I quite liked this snippet, but I got irritated at a few bugs and the coding style, so I ended up rewriting it.

What's the general consensus on submitting other peoples code if it's been majorly overhauled? By Majorly overhauled, I mean it's now 10kb instead of 24kb - with no loss to functionality - with many bug fixes and some other improvements.

Do I post it here, or do I submit my own and give this guy partial credit?

 Respond  
bigrat2 commented on a Page, Recursive mass-mode  -  Nov 06, 2008

Thanks for the comments guys. And wow, $modespl is awesome, didn't know about that. :) I assume that sets itself to the max allowed on the server?

I've made some minor adjustments, shouldn't take long to make it be able to do multiple modes.

 Respond  
bigrat2 created a Page  -  Nov 06, 2008
459 

An efficient, recursive mass-mode script which accumulates users as arguments to the aliases and applies the mode to them all at once, in groups of the maximum allowed by server, to prevent spamming up the channel. It also doesn't apply modes to those which already have it (i.e. Won't voice users who already have voice).

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.