mIRC Home    About    Download    Register    News    Help

Print Thread
#137534 13/12/05 06:12 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
trying to get it to ignore a nick on my mates server that auto messages every user on join with a notice.

Code:
on *:connect: {  

  ; Sqtnet 

  if ($server == myserver.org) { 

    ignore juicer

    timerignore 1 20 ignore -r juicer

    else {

      halt

    }

  }
}


cheers

#137535 13/12/05 08:39 PM
Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
Code:
on *:connect: {
  ; Sqtnet   
  if ($server == myserver.org) {
    ignore juicer
    timerignore 1 20 ignore -r juicer
  }    
  else {
    halt    
  }
}

this obviously wont work if server doesnt return myserver.org so type //echo -a #server to double check that

#137536 13/12/05 08:55 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
Code:

on *:start: {  

  ; Sqtnet

  server  66.98.242.54 


}

on *:connect: {
  ; Sqtnet   
  if ($server == 66.98.242.54 ) {
    join  #squatjuice,#lean
    ignore juicer
    timerignore 1 20 ignore -r juicer
  }    
  else {
    halt    
  }
}



here is full code. still not working frown

#137537 13/12/05 09:10 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Are you sure that $server is actually returning '66.98.242.54' after you are connected? Some servers change their name after you connect. You might want to try this:

- Connect to the server
- Type: //echo -a $network
- Locate the root name of the server (ie. if the above command echos 'irc.servername.net', the root is 'servername')
- Use the following code, and replace servername with the actual root name of your server:

Code:
on *:start: { 
  ; Sqtnet
  server 66.98.242.54 
}

on *:connect: {
  ; Sqtnet 
  if (servername isin $network ) {
    ignore juicer
    join #squatjuice,#lean
    .timerignore 1 20 ignore -r juicer
  } 
}


-genius_at_work

#137538 14/12/05 06:00 AM
Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
obviously you realise #server was a type o
so i want to express my appreciation for no one jabbing me
over it


Link Copied to Clipboard