Jump to content

Command For When Opening Mirc


mcdanielnc89

Recommended Posts

  • 2 weeks later...

I've edited it a little bit and would like to know how I've done... Did I accomplish it?

 

 

on *:START: {
  /timersparkpea 1 5 /sparkpea
  /timerkoach 1 40 /koach
  /timerfreenode 1 50 /freenode
  /timermozilla 1 60 /mozilla
  /timerjax 1 70 /jax
  /timerwyldryde 1 80 /wyldryde
}

alias sparkpea /server four.irc.sparkpea.net
alias koach /server -m irc.koach.com
alias freenode /server -m irc.freenode.com
alias mozilla /server -m irc.mozilla.org
alias jax /server -m irc.xalaris.net
alias wyldryde /server -m irc.wyldryde.org

on *:CONNECT: {
  if ($network == sparkpea) {
    /timeridentify 1 10
        /nickserv identify [email protected] PASSWORDHERE
        /timercmc 1 5 /join #Christians~Meeting~Christians
  }
  elseif ($network == koach) {
    /nick NBJF /join #NBJF, #ComputingFriends, #koachsworkshop, #thelobby, #TG007
  }
  elseif ($network == mozilla) {
    /nick mcdanielnc89 /nickserv identify PASSWORDHERE /join #firefox,#addons
  }
  elseif ($network == jax) {
    /nick mcdanielnc89 /nickserv identify PASSWORDHERE /join #thebeagleclub,#lobby
  }  
  elseif ($network == freenode) {
    /nick mcdanielnc89 /nickserv identify PASSWORDHERE /join #html,#css,##php,#phpbb
  }
  elseif ($network == koach) {
    /nick mcdanielnc89 /nickserv identify PASSWORDHERE /nick NBJF /timer 11 2 /join #ComputingFriends,#koachsworkshop,#NBJF,#TG007,#thelobby
  }  
}

Link to comment
Share on other sites

Guest X-Fusion

You need to start echoing $network to see what the actual network is. I know for a fact atleast two of those don't match with the echoed $network.

 

on *:START: {
  /timersparkpea 1 5 /sparkpea
  /timerkoach 1 40 /koach
  /timerfreenode 1 50 /freenode
  /timermozilla 1 60 /mozilla
  /timerjax 1 70 /jax
  /timerwyldryde 1 80 /wyldryde
}

alias sparkpea /server four.irc.sparkpea.net
alias koach /server -m irc.koach.com
alias freenode /server -m irc.freenode.com
alias mozilla /server -m irc.mozilla.org
alias jax /server -m irc.xalaris.net
alias wyldryde /server -m irc.wyldryde.org

on *:CONNECT: {
  if ($network == sparkpea) {
    /timeridentify 1 10
        /nickserv identify [email protected] PASSWORDHERE
        /timercmc 1 5 /join #Christians~Meeting~Christians
  }
  elseif ($network == mozilla) {
    /nick mcdanielnc89 
   /nickserv identify PASSWORDHERE 
   /join #firefox,#addons
  }
  elseif ($network == jax) {
    /nick mcdanielnc89 
   /nickserv identify PASSWORDHERE 
   /join #thebeagleclub,#lobby
  }  
  elseif ($network == freenode) {
    /nick mcdanielnc89 
   /nickserv identify PASSWORDHERE 
   /join #html,#css,##php,#phpbb
  }
  elseif ($network == koach.com) {
    /nick mcdanielnc89 
   /nickserv identify PASSWORDHERE 
   /nick NBJF 
   /timer 11 2 /join #ComputingFriends,#koachsworkshop,#NBJF,#TG007,#thelobby
  }  
}

Link to comment
Share on other sites

You need to start echoing $network to see what the actual network is. I know for a fact atleast two of those don't match with the echoed $network.

 

Doesn't match? I can manually connect to them perfectly...

Link to comment
Share on other sites

I'm curious about these lines ....

 

 

/nick NBJF /join #NBJF, #ComputingFriends, #koachsworkshop, #thelobby, #TG007

 

 

Shouldn't there be a pipe between these commands?

 

 

{ nick NBJF | join #NBJF, #ComputingFriends, #koachsworkshop, #thelobby, #TG007 }

Link to comment
Share on other sites

Guest X-Fusion
Doesn't match? I can manually connect to them perfectly...

 

Of course you can manually connect to them fine, because your using an IRC protocol. To do what you want, you need to use the mIRC protocol, which requires you to read $network.

Link to comment
Share on other sites

What he is trying to say, Nate, is that he doesn't think the network names you have are correct.

 

if ($network == sparkpea) for instance,

 

If you are on sparkpea, $network might not be 'sparkpea'.

 

 

What he is asking you to do is to go to each network, join a room and ...

 

//echo -a Network == $network

 

 

Do this. Now check what the server gives you with what you have in your code. :)

Link to comment
Share on other sites

also instead of a timer just use...

 

on *:START: {
   server four.irc.sparkpea.net
   server -m irc.koach.com
   server -m irc.freenode.com
   server -m irc.mozilla.org
   server -m irc.xalaris.net
   server -m irc.wyldryde.org
}

 

works fine unless you got a TERRIBLY slow pc....

 

other then that fix the $network names and it should work....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...