Autojoin Toolv1.0

By Thesaurus on Feb 03, 2008

Here's a nice autojoin tool I've made - it is NOT complete; consider this as a BETA version. Use the menu (right click channel -> Autojoin) and add channels you wish to join on connect- separate these channels with commas (,). Example, #example,#example1,#example2, etc. You can choose to clear the list, and to check the list. Too update your list, click check, and add those plus the new ones. To join these channels while you connect press f6 within 30 seconds or the script will expire.

There will be updates, look out for a more efficent update option later on in v1.1.

on *:Connect: {
  /ns id <yourpasswordhere>
  set %f6 on
  .timer 1 30 set %f6 off | echo -a Autojoin aborted.
}
alias f6 {
  if ( %f6 == on ) {
    join %autojoinlist
    /timers stop
    set %f6 off
  }
} 

menu channel {
  ..Autojoin
  .Add: { { set %autojoinlist $$?="Type in channels to add to your auto join list." 
  echo -a Your autojoin list is %autojoinlist $+ ! } }
  .Clear all: { { unset %autojoinlist 
  echo -a Your autojoin list has been deleted! } }
  .Check List: { { echo -a Your autojoin list is %autojoinlist $+ !
    }
  }
}

Comments

Sign in to comment.
Thesaurus   -  Feb 04, 2008

@Noutious
Absolutely nothing ^_^. Basicly just there for the sake of being there.

@Jonesy44
Yeah, a friend recommended using dialog- I\'ll look into it. I see each new snippet as a learning opportunity :). And I did originally have an \'update\' option- till I messed it up; had it working... Almost correctly ;)

 Respond  
Jonesy44   -  Feb 04, 2008

It\'s a nice, simple idea. Perhaps adding a dialog, or some aliases to make it easier ?

Second point, when you click \"Add\" and Click \"ok\" you\'ll be overriding your previous auto join channels. Defeats the point of it memorizing them in the first place =P

Not a bad idea though =)

 Respond  
Noutrious   -  Feb 04, 2008

/ns id
What does this have to do with autojoin?

 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.