mIRC Home    About    Download    Register    News    Help

Print Thread
#5018 05/01/03 08:26 AM
Joined: Dec 2002
Posts: 5
E
EClaw Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Dec 2002
Posts: 5
is it possible to show all events of a channel in a new window ?

in #channel1 i want to see it in the channel and it #channel2 in an own window, not in the channel itself, is that possible? plz help smile

#5019 05/01/03 08:58 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:
on ^!*:JOIN:#channel2:{
  window -k @#channel2
  titlebar @#channel2 events
  echo $color(join) -ti2 @#channel2 * Joins: $nick ( $+ $address $+ )
  haltdef
}
on ^!*:PART:#channel2:{
  if ($1) var %reason = ( $+ $1- $+ )
  window -k @#channel2
  titlebar @#channel2 events
  echo $color(part) -ti2 @#channel2 * Parts: $nick ( $+ $address $+ ) %reason
  haltdef
}
on ^!*:QUIT:{
  if ($nick ison #channel2) {
    if ($1) var %reason = ( $+ $1- $+ )
    window -k @#channel2
    titlebar @#channel2 events
    echo $color(quit) -ti2 @#channel2 * Quits: $nick ( $+ $address $+ ) %reason
    if ($comchan($nick,0) == 1) haltdef
  }
}
on ^!*:NICK:{
  if ($newnick ison #channel2) {
    if ($1) var %reason = ( $+ $1- $+ )
    window -k @#channel2
    titlebar @#channel2 events
    echo $color(nick) -ti2 @#channel2 * $nick is now known as $newnick
    if ($comchan($newnick,0) == 1) haltdef
  }
}
on ^*:MODE:#channel2:{
  window -k @#channel2
  titlebar @#channel2 events
  echo $color(mode) -ti2 @#channel2 * $nick sets mode: $1-
  haltdef
}
on ^*:KICK:#channel2:{
  var %reason = ( $+ $iif($1,$1-,$nick) $+ )
  window -k @#channel2
  titlebar @#channel2 events
  echo $color(kick) -ti2 @#channel2 * $knick was kicked by $nick %reason
  haltdef
}

etc.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard