Settings & History
  • You can use boolean operators (-, |, OR), wildcards (*, ?), and phrase search (") in your query
  • For BitTorrent: Paste in a 40 characters info_hash, to search for that particular torrent and get all trackers for it
Browse|Add this search and API to your site



<< Post  RLS log irc   ::   Guide to XDCC bots  Post >>

Author Message
Isakill

Kovurt Opz


Joined: 27 Oct 2006
Posts: 1311
Location: *sings* SOMEWHARE OWT THERE!!!

Status: Offline
Reputation: 2025

Post Posted: Mon Jan 19, 2009 12:31 pm Reply with quote   Back to top    

I need help.
what i'm attempting to do is create my own custom autojoin script.. not unlike sysreset's autojoin manager, but not as complex.

all I need is the code that can open a new server window and i'll be able to fly with that.

the order of what I need is this:

'connect to server 1
identify
join chan 1
join chan 2
join chan 3

open new server window
connect server 2
identify


you get the point

_________________
Image
View user's profile  Send private message  Send e-mail          
Lifechanger

Mod 4 Life


Joined: 05 Apr 2008
Posts: 3909

Status: Hidden
Reputation: 2364

Post Posted: Mon Jan 19, 2009 12:50 pm Reply with quote   Back to top    

isakill see if this is able to help you out.. http://www.wyldryde.org/forum/ubbthreads.php/forums/2/1/mIRC_Scripting.html

_________________
Image
Rules / Sticky Guides / FAQ / Google
View user's profile  Send private message    Visit poster's website        
Isakill

Kovurt Opz


Joined: 27 Oct 2006
Posts: 1311
Location: *sings* SOMEWHARE OWT THERE!!!

Status: Offline
Reputation: 2025

Post Posted: Mon Jan 19, 2009 5:34 pm Reply with quote   Back to top    

the one autojoin I saw failed.... too bad i'm such a n00b at it. I can't tell what part opens the new window.. i'll scan it in more depth later

_________________
Image
View user's profile  Send private message  Send e-mail          
Isakill

Kovurt Opz


Joined: 27 Oct 2006
Posts: 1311
Location: *sings* SOMEWHARE OWT THERE!!!

Status: Offline
Reputation: 2025

Post Posted: Mon Jan 19, 2009 7:06 pm Reply with quote   Back to top    

ok I found out how to supposedly open up a new window:
/s -m <server>

this is what I have:

Code:
/s -m <serverurl> -j #chan1,#chan2,#chan3
/s -m <serverurl>
on *:NOTICE:*This nickname is registered*:*: {
  msg nickserv identify <mypass>
}
on *:NOTICE:*password accepted*:*: {
  join -x #chan 1
}
/s -m <serverurl>
on *:NOTICE:*This nickname is registered*:*: {
  msg nickserv identify <mypass>
}
on *:NOTICE:*your password*:*: {
  join -x #chan1
}
/s -m irc.p2p-network.net:+7000
on *:NOTICE:*This nickname is registered*:*: {
  msg nickserv identify <mypass>
}
on *:NOTICE:*Your vhost*:*: {
  join -x #isohunt
  join -x #isohunt-helpers
  join -x #isohunt-mods
  join -x #hexagon
  join -x #isakill
}
/s -m <ircURL>:+6697
on *:NOTICE:*This nickname is registered*:*: {
  msg nickserv identify <mypass>
}
on *:NOTICE:*Password accepted*:*: {
  join -x #chan1
  join -x #chan2
}


let me know why this fails.

_________________
Image
View user's profile  Send private message  Send e-mail          
caspian

Partially Experienced Newbie (tm)


Joined: 24 Jan 2006
Posts: 48
Location: Hawaii

Status: Offline
Reputation: 256

Post Posted: Fri Jan 23, 2009 12:10 pm Reply with quote   Back to top    

it fails because you smell funny =P


It's probably failing because you have the same commands over and over again for identifying... you'll need to do an if statement

i know the syntax for the below code is fucked up but it should... SHOULD be close enough to get you started =P you'll need the brackets {} and what not

Code:

/s -m <serverurl1> -j #chan1...
/s -m <serverurl2>
/s -m <serverurl3>
/s -m <serverurl4>:+7000
/s -m <serverurl5>:+6697

if serverurl == <serverurl1>
on *:NOTICE:*This nickname is registered*:*: {
  msg nickserv identify <mypass>
elseif serverurl == <serverurl2>
on *:NOTICE:*This nickname is registered*:*: {
  msg nickserv identify <mypass>
etc


but i still stand by my original diagnosis... its because of your smell!

edit: the -m switch just makes the window maximize you don't need it for all chans =P
edit again: why didn't you ask me about this last night when i was at home and could have helped with it =P

_________________
Help with The Greatest Story Ever Told

Ask a good question: http://www.catb.org/~esr/faqs/smart-questions.html

Like me
View user's profile  Send private message      AIM Address  Yahoo Messenger  MSN Messenger  
Isakill

Kovurt Opz


Joined: 27 Oct 2006
Posts: 1311
Location: *sings* SOMEWHARE OWT THERE!!!

Status: Offline
Reputation: 2025

Post Posted: Sat Jan 24, 2009 3:24 pm Reply with quote   Back to top    

because I got it to work..

i'd post it but i'm too lazy to edit out all the passwords and servers

_________________
Image
View user's profile  Send private message  Send e-mail          
Display posts from previous:       

<< Post  RLS log irc   ::   Guide to XDCC bots  Post >>

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

This site features search engines on metadata only. It is a service independent of the IRC and BitTorrent networks. Use at your own risk.


Powered by phpBB :: All times are GMT - 7 Hours



-ADVERTISEMENT-
Download Now!

VIP

membership is only $1/month, with perks like turning off all annoying ads. We dislike ads as much as you do!

Our 2nd contest winning t-shirt design! You know you want it!
NEW 8 Years Anniversary Tee!



Random Poll
Kids or Spouse: Who do you love more/ True confessions.
Your Mother / Caregiver (edited for considerati-
on)
Your Significant Other
One of Your Kids
Yourself

New Posts

Friends
TorrentBox
Podtropolis

TorrentFreak
Torrents.to

FAC, CMCC
Defend Fair Use
Neutrality.ca

This site features search engines on metadata only. It is a service independent of the IRC and BitTorrent networks. Use at your own risk.
Canadian Coalition for Electronic Rights - CCER.CA   Lighttpd   Get Firefox   FF Plugins, Toolbar & Widgets

Page generation: 1.08s (2% in 10 SQLs) on b04, loadavg: 1.54       © isoHunt Inc. | Privacy & Copyright Policies