mIRC Home    About    Download    Register    News    Help

Print Thread
/who #11244 15/02/03 12:48 PM
Joined: Jan 2003
Posts: 44
T
ThE_mASk Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
I have this script:
on *:JOIN:*:{
if ($nick == $me) goto scan
else goto one
:scan
.who $chan
halt
blushne
.who $nick
halt
}
How to make it not to show the who info in the status. It didn't worked with halt of haltdef...


Regards, ThE_mASk.
Re: /who #11245 15/02/03 12:57 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code:
on *:JOIN:#:{
  if ( $nick == $me ) {
    set %ial $+ # 1
    who #
  }
}
raw 352:*:{ 
  if ( $eval(% $+ ial $+ $2,2) == 1 ) {
    haltdef
  }
}
raw 315:*:{ 
  if ( $eval(% $+ ial $+ $2,2) == 1 ) {
    unset %ial $+ $2
    haltdef
  }
}

That will get the addresses of everyone in the channel when you join. Not sure why you have the /who $nick in (the IAL is updated with someone's address when they join anyway).

Well #11246 15/02/03 01:14 PM
Joined: Jan 2003
Posts: 44
T
ThE_mASk Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
Well I didn't made the script for the IAL function but for the IRC Operator Scan.

on *:JOIN:*:{
if ($nick == $me) goto scan
else goto one
:scan
.who $chan
halt
blushne
.who $nick
halt
}

raw 352:*:{
if (* isin $7) {
if ($level($address($6,15)) != 100) .guser 100 $6 1 IRC Operator
}
}


Regards, ThE_mASk.
Re: Well #11247 15/02/03 01:35 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Ok try this then:
Code:
on *:JOIN:#:{
  if ( $nick == $me ) {
    set %ial $+ # 1
    who #
  }
  else {
    set %ial $+ $nick 1
    userhost $nick
  }
}
raw 352:*:{ 
  if ( $eval(% $+ ial $+ $2,2) ) {
    if ( * isin $7 ) {
      echo 4 -a $6 is an IRCOp
    }
    haltdef
  }
}
raw 315:*:{ 
  if ( $eval(% $+ ial $+ $2,2) ) {
    unset %ial $+ $2
    haltdef
  }
}
raw 302:*:{
  if ( $eval(% $+ ial $+ $remove($gettok($2,1,61),*),2) ) {
    if ( * isin $2 ) {
      echo 4 -a $remove($gettok($2,1,61),*) is an IRCOp
    }
    unset % $+ ial $+ $remove($gettok($2,1,61),*)
    haltdef
  }
}

Replace the echoes with whatever you want to do, of course..

/who *.edu in a seperate window #11248 17/02/03 12:28 AM
Joined: Dec 2002
Posts: 7
A
AndyDBZ Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Dec 2002
Posts: 7
I would like to know how to make a /who *.edu show up in a seperate window. This is what i have so far confused
raw 352:*: { window -ek0 @who 400 600 720 300 }