mIRC Home    About    Download    Register    News    Help

Print Thread
#77481 01/04/04 07:08 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
how can i use /font to make sure all windows use that font?


New username: hixxy
#77482 01/04/04 07:40 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
/font -asgd
a for active
s for status
g for finger window
d defaults all that type of window, then query yourself and /font -ad yournick params will set for all query indows i think, i guess this would work for all windows, it seems like a long way to do it, how about using the /font command in an on open event.... just an idea, not sure if its exactly what your looking for


billythekid
#77483 01/04/04 07:48 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
i already knew how to do that, i was hoping someone knew a way for an on load event, thanks anyway.


New username: hixxy
#77484 01/04/04 08:08 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Perhaps a loop through $window(*,n) on each cid would work?

#77485 01/04/04 08:52 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
i wanted to set it as a default font also, and you can't use -d and a window according to the help file.


New username: hixxy
#77486 01/04/04 08:54 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
The helpfile is mistaken on that matter, from a quick test.

"/font -d #channel 9 fixedsys" changed both the font in #channel and the font in the channel I opened afterwards

#77487 01/04/04 09:21 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
ok thanks smile

this is sort of related to this topic (/font was for a theme) and there is no point in making a new thread, does anyone know why this still echos the default <$me> text

Code:
on *:input:*:{
  font -d $target 11 bright
  if $left($1,1) == $readini($mircini,text,commandchar) &amp;&amp; $1 != /me &amp;&amp; !$ctrlenter { return }
  elseif $1 == /me &amp;&amp; !$ctrlenter { 
    .me $2-
    align $active $+($scheme,*,$me) $2-
  }
  elseif $left($1,1) != $readini($mircini,text,commandchar) { 
    .say $1-
    align $active $me $1-
  }
  elseif $left($1,1) == $readini($mircini,text,commandchar) &amp;&amp; $ctrlenter { 
    .say $1-
    align $active $me $1-
  }
  haltdef
}


my only other on input event is this, which shouldn't make a difference

Code:
on *:input:#:{
  if $1 == !seen {
    inc -u5 %seen
    if %seen == 3 { 
      .notice $nick flood control enabled, please wait.. 
      return
    }
    elseif %seen &gt; 3 { return }
    if $2 {
      if $2 == $me { .notice $me ask a mirror. }
      elseif $2 != $me {
        if $2 ison # { .notice $me $2 is in # now }
        elseif $2 !ison # {
          if $hget(seen,$2) { .notice $nick $2 $replace($hget(seen,$2),looking for $nick,looking for you) }
          elseif !$hget(seen,$2) { .notice $nick $2 has not been seen by me yet. }
        }
      }
    }
    elseif !$2 { .notice $nick there are $iif($hget(seen,0).item,$ifmatch,no) entries in my database. }
  }
  haltdef
}


New username: hixxy
#77488 02/04/04 12:19 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
A . seems to have no effect on /say, try using .msg $target $1- instead.

#77489 02/04/04 09:43 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
ok thanks.


New username: hixxy

Link Copied to Clipboard