mIRC Home    About    Download    Register    News    Help

Print Thread
stats for ops #6322 13/01/03 05:26 AM
Joined: Jan 2003
Posts: 40
V
verdugo2000 Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jan 2003
Posts: 40
in popup list ,menu bar i use :

OPS,VOICE,USERS: /echo $active Total de usuarios $nick($chan,0,a) con voice = $nick($chan,0,v) Operadores en $chan = $nick($chan,0,o)

but i want loaded ,on 1:start:#: {.titlebar echo OPS,VOICE,USERS: /echo $active Total de usuarios $nick($chan,0,a) con voice = $nick($chan,0,v) Operadores en $chan = $nick($chan,0,o) } its ok?


Re: stats for ops #6323 13/01/03 05:29 AM
Joined: Dec 2002
Posts: 144
D
Dana Offline
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
What are you trying to accomplish? So that the popup will only be there when you're connected to a server? Or are you trying to put the information on a channel (such as user count, etc.) into the titlebar when you first join a channel?


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
Re: stats for ops #6324 13/01/03 09:26 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
As Dana said, on START is not right. That event takes place when mIRC starts. At that point, you are not connected to any server, and therefore you cannot possibly be in any channel(s). $nick($chan,0) has no meaning if $chan is not defined.

Also, if you join multiple channels, which one of them should be in your mIRC titlebar? The active channel? If so, then you use on ACTIVE, like this:
Code:

on *:ACTIVE:{
  if (#* iswm $active) {
    titlebar En el canal $chan $+ , hay $&
      $nick($chan,0,a) usuarios totales, $&
      $nick($chan,0,r) usuarios regulares, $&
      $nick($chan,0,v) usuarios con Voz y $&
      $chan($nick,0,o) Operadores del canal.
  }
  else titlebar
}

En su titlebar, Ud. vería (por ejemplo): En el canal #mIRC, hay 26 usuarios totales, 5 usuarios regulares, 17 usuarios con Voz, y 4 Operadores del canal. ¿Es este cuál Ud. es el intentar hacer?


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