Basic Aligned Theme

By KronicDreamer on Sep 24, 2008

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!)

Image

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))

Comments

Sign in to comment.
irchainscriptz   -  May 24, 2011

On my own server irc.irchainscriptz.net

 Respond  
napalm`   -  May 24, 2011

Ass. <3 Where are you these days?

KronicDreamer  -  Nov 17, 2013

about to come back, hope you people are still around, believe ill actually learn a good code language lmao

Sign in to comment

irchainscriptz   -  May 20, 2011

thats beacuse your always asleep lol typical Napalm ..will never change hahahahahaaha

 Respond  
napalm`   -  May 20, 2011

Wow, I can't believe I just now saw this. I appreciate the credit. Looks great.

 Respond  
Gosy   -  Feb 24, 2011

Yay ! :) , would like to see some updated version of this theme

 Respond  
KronicDreamer   -  Aug 23, 2009

Been awhile LMAO! well i am back up to no good on mirc so i guess ill reinstall and start to recode some of this

 Respond  
KronicDreamer   -  Dec 18, 2008

under active development again, update/fixes soon!

 Respond  
KronicDreamer   -  Oct 02, 2008

youll havta add more in the text responce ...

alias thspace return $str($chr(160),$calc(15 - $len($nick)))

youll havta change the 15 to at least 17 maybe more... just havta experiment...

 Respond  
soujirovalk   -  Oct 01, 2008

hi
i change the code but no align good...
i added » this way:
»nick» : message

help me please

 Respond  
Gummo   -  Sep 30, 2008

If you try it, you'll know if it works. ;)
Just a technique idea.

 Respond  
KronicDreamer   -  Sep 30, 2008

lol Chain yea no blue :P

Gummo that may work, i just set it up like i knew how, i aint the best :P

TY Gosy and yea i am still updating it, i will prolly release most of the rest in a day or 2.... still got a bit more to go.

****Also fixed Query bug...

 Respond  
irchainscriptz   -  Sep 30, 2008

yo kronic where the hell is my blue LOL :))

 Respond  
Gummo   -  Sep 30, 2008
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!

 Respond  
Gosy   -  Sep 30, 2008

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 :)

  • Quit(s)
  • G-Line
  • Notice
  • Query(ies)
  • Mode(s) - Giving or Taking.
  • Nick Change(s)
 Respond  
KronicDreamer   -  Sep 26, 2008

There i added every Whois Raw i could see :P
Next will be Nick Change/Quit and other misc. Raws poping up on window :))

 Respond  
Noutrious   -  Sep 26, 2008

Anyone here has similar, but better-modified themes like this? (raw/action based, not MTS)

 Respond  
Imrac   -  Sep 25, 2008

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.

 Respond  
KronicDreamer   -  Sep 24, 2008

yea if your not voiced then your nick would be 1 line not long enough....
so i done the regex to keep all aligned...
also spaced far apart? ever been on a network w/ a LONG nickname? it makes it look awful if everything else is aligned...

 Respond  
napa182   -  Sep 24, 2008

it's spaced kinda far and i dont see the point of useing a regex on the pnick when $nick($chan,$nick).pnick works just as good.

 Respond  
KronicDreamer   -  Sep 24, 2008

i know thats why i put VERY basic...
just havta keep most the ripers on their feet :P
Ill update raws later...
** edited SS uploaded...

 Respond  
^Neptune   -  Sep 24, 2008

Meh, not really done at all.

Proper theme scripts edit every single raw :)

 Respond  
Cheiron   -  Sep 24, 2008

can we have a screenshot to look at ?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.