mIRC Home    About    Download    Register    News    Help

Print Thread
#155797 09/08/06 01:52 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
can mirc detect this???

just on our server a bot auto messages a msg, when i join i set it to ignore for 20seconds

on *:connect: {
; Sqtnet
if (SquatNet isin $network ) {
ignore juicer
join #squatjuice,#lean,#wank,#fukliam
.timerignore 1 20 ignore -r juicer
.timerop 1 25 msg juicer op kaylee
}
}
just want it to also do it for hop,

#155798 09/08/06 05:39 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Code:
on *:connect: {
  if ($network == SquatNet) {
    ignore -u20 juicer
    join #squatjuice,#lean,#wank,#fukliam
    .timerop 1 25 opsquat
  }
}
alias opsquat {
  var %i = 1 
  while (%i <= 4) {
    msg juicer op $gettok(#squatjuice,#lean,#wank,#fukliam,%i,44) $me
    inc %i
  }
}

well give that a try

#155799 09/08/06 07:48 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
im confused what you have done,

basicly all i want is for when im in the channel say i /hop for example it ignores jucier as im part/rejoining the channel

#155800 09/08/06 09:50 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Code:
[color:blue]
on *:connect: {
  if ($network == SquatNet) {
    ignore -u20 juicer
    join #squatjuice,#lean,#wank,#fukliam
    .timerop 1 25 msg juicer op kaylee
  }
}
alias opup {
  var %chncnt = $comchan($$1,0)
  var %i = 1
  while (%i <= %chncnt) {
    if ( $comchan($1,%i).op == $true ) { mode $comchan($1,%i) +o $1 }
    inc %i
  }
}
[/color]
[color:red]
on me:*:join:#:{
if ($chan isin #squatjuice,#lean,#wank,#fukliam) {
    ignore -u20 juicer
    .timerop 1 25 msg juicer op $chan $me
}
[/clolor]


blue area is changes to your original script

red area is addition to op you on joining one of the channels in your list


Link Copied to Clipboard