Just a VERY basic aligned theme....
Looks best in a light gray BG..
*****NOTE**** YOU HAVTA have fixed width font!!!
Windows = New Courier
Linux = FreeMono (which i use!)
Last Updated 9/26/08 ... more soon!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;Code By: KronicDreamer
;;$regex credit to napalm
;;
;;rip/thrash/trash or break i dont care just dont take credit kthnx!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on ^*:TEXT:*:#: {
echo -i36 # $thstamp $thspace $thop $+ $nick $+ 7: $1- | halt
}
on ^*:TEXT:*:?: {
echo -i36 $nick $thstamp $thspace $thop $+ $nick $+ 7: $1- | halt
}
on ^*:ACTION:*:#: {
echo -i36 # $thstamp $thspace $thop $+ $nick $+ 7: * $1- | halt
}
on ^*:JOIN:*: {
echo # $thstamp $thjpq 7: Join $nick ( $+ $address $+ ) | halt
}
on ^*:PART:*: {
echo # $thstamp $thjpq 7: Part $thop $+ $nick ( $+ $address $+ ) | halt
}
on &*:INPUT:#: {
if (/* !iswm $1) {
echo -i36 # $thstamp $thspme $thop $+ $me $+ 7: $1-
.msg $active $1-
halt
}
}
on &*:INPUT:?: {
if (/* !iswm $1) {
echo -i36 $nick $thstamp $thop $+ $thspme $me $+ 7: $1-
.msg $target $1-
halt
}
}
;;;; Edited in 9/26/08
raw 301:*: {
echo -ai36 $thstamp $th2(4) Away7: Yes: ( $+ $3- $+ )
halt
}
raw 307:*: {
echo -a $thstamp $th2(10) Registered7: Yes.
halt
}
raw 310:*: {
echo -a $thstamp $th2(10) IRC Helper7: Yes.
halt
}
raw 311:*: {
echo -a $thstamp $th2(10) ----------7:----------
echo -a $thstamp $th2(6) Whois 7- $2
echo -a $thstamp $th2(8) NickName7: $2
echo -a $thstamp $th2(8) RealName7: $6-
echo -a $thstamp $th2(5) Ident7: $3
echo -a $thstamp $th2(7) Address7: *!*@ $+ $4
halt
}
raw 378:*: {
echo -ai36 $thstamp $th2(8) Hostmask7: $6
echo -ai36 $thstamp $th2(2) IP7: $7
halt
}
raw 379:*: {
echo -ai36 $thstamp $th2(5) Modes7: $6-
halt
}
raw 671:*: {
echo -a $thstamp $th2(3) SSL7: Yes
halt
}
raw 312:*: {
echo -a $thstamp $th2(6) Server7: $3
echo -ai36 $thstamp $th2(11) Description7: $4-
halt
}
raw 313:*: {
echo -a $thstamp $th2(8) Net Rank7: $5-9
halt
}
raw 319:*: {
echo -a $thstamp $th2(8) Channels7: $Replace($3-,~,~,&,&,@,@,%,%,+,+)
halt
}
raw 317:*: {
echo -a $thstamp $th2(9) Signed on7: $asctime($4,dddd mm/dd/yyyy HH:nn:sstt)
echo -a $thstamp $th2(4) Idle7: $duration($3)
echo -a $thstamp $th2(6) Online7: $duration($calc($ctime - $4))
halt
}
raw 335:*: {
echo -a $thstamp $th2(3) Bot7: Yes.
halt
}
raw 318:*: {
echo -a $thstamp $th2(6) Whois 7- End
echo -a $thstamp $th2(10) ----------7:----------
halt
}
alias th2 return $str($chr(160),$calc(16 - $1))
;;;;;;;; End Edit 9/26/08
alias thop {
if (!$regex($nick($chan,$nick).pnick,[~\&@%\+])) return $chr(160)
if ($regex($nick($chan,$nick).pnick,[~\&@%\+])) return $left($nick($chan,$nick).pnick,1)
}
alias thspme return $str($chr(160),$calc(15 - $len($me)))
alias thspace return $str($chr(160),$calc(15 - $len($nick)))
alias thstamp return $asctime(hh:nn)
alias thjpq return $str($chr(160),16))
alias thop {
if (!$regex($nick($chan,$nick).pnick,[~\&@%\+])) return $chr(160)
if ($regex($nick($chan,$nick).pnick,[~\&@%\+])) return $left($nick($chan,$nick).pnick,1)
}
Can't you just use this?
alias thop return $iif($left($nick($chan,$nick).pnick,1) isin ~&@%+,$v1,$chr(160))
99.9% less regex with 0 calories!
This code was really the thing i was looking for the last 5 days :)
Thanks!
Tho there are some stuff that needs to be updated, i know that you've written it abit further up in this comment section but, just let me remind you of what you need to fix :)
You should use $timestamp for the time, I personally like my own timestamp format better than just hh:nn, my 2 cents. Oh, About the long name thing, you could also have a variable with the longest length, then if the new name is longer, you can loop through the buffer and realign everything again, that would be cool. Oh and use [img] tags on the description.
about to come back, hope you people are still around, believe ill actually learn a good code language lmao