Whois Raws

By Protheus on Jan 07, 2017

My whois raws to match my theme.

Screenshot:

Image 1
raw 301:*: {
  echo -a 3{14-14 3A14way: Yes: ( $+ $3- $+ ) 14-3} 
  halt
}
raw 307:*: {
  echo -a 3{14-14 3R14egistered 3N14ickname: Yes. 14-3} 
  halt
}
raw 310:*: {
  echo -a 3{14-14 3I14RC 3H14elper: Yes. 14-3} 
  halt
}
raw 311:*: {
  echo -a 3{14-14 3W14hois for $2 14-3}
  echo -a 3{14-14 3N14ick3N14ame: $2 14-3} 
  echo -a 3{14-14 3R14eal 3N14ame: $6- 14-3}
  echo -a 3{14-14 3I14dent: $3 14-3}
  echo -a 3{14-14 3A14ddress: *!*3@14 $+ $4 14-3}
  halt
}
raw 378:*: {
  echo -a 3{14-14 3H14ostmask: $6 14-3} 
  echo -a 3{14-14 3I14P: $7 14-3}
  halt
}
raw 379:*: {
  echo -a 3{14-14 3M14odes: $6- 14-3}
  halt
}
raw 671:*: {
  echo -a 3{14-14 3S14ecure 3C14onnection: Yes 14-3} 
  halt

}
raw 276:*: {
  echo -a 3{14-14 3C14lient 3C14ert 3F14ingerprint: $7 14-3}
  halt
}
raw 320:*: {
  echo -a 3{14-14 3N14etwork 3A14dministrator: Yes 14-3}
  halt
}
raw 330:*: {
  echo -a 3{14-14 3L14ogged in as: $2 14-3}
  halt
}
raw 312:*: {
  echo -a 3{14-14 3S14erver: $3 14-3}
  echo -a 3{14-14 3D14escription: $4- 14-3}
  halt
}

raw 313:*: {
  echo -a 3{14-14 3N14etwork 3R14ank: $5-9 14-3}
  halt
}
raw 319:*: {
  echo -a 3{14-14 3C14hannels: $Replace($3-,~,3~14,&,3&14,@,3@14,%,3%14,+,3+14) 14-3}
  halt
}
raw 317:*: {
  echo -a 3{14-14 3S14igned on at: $asctime($4,dddd mm/dd/yyyy HH:nn:sstt) 14-3}
  echo -a 3{14-14 3T14ime 3I14dle: $duration($3) 14-3}
  echo -a 3{14-14 3T14ime 3O14nline: $duration($calc($ctime - $4)) 14-3}
  halt
}
raw 335:*: { 
  echo -a 3{14-14 3B14ot: Yes. 14-3} 
  halt
}

raw 318:*: { 
  echo -a 3{14-14 3E14nd of 3W14hois 14-3} 
  halt
}

Comments

Sign in to comment.
gooshie   -  Feb 05, 2017

That's some serious halt abuse.
Hard coded colors are a bad idea. No one will run your code because noobs
won't be able to pick out all the broken codes and vets won't want to.
Try: //echo -ac action blah blah $+($chr(3),$color(info).dd) more blah blah blah
Even better set up colors 2-13 in alias with variables for all $color()s:
set %k-A $+($chr(3),$color(info).dd)
set %k-B $+($chr(3),$color(action).dd)
set %k-C $+($chr(3),$color(text).dd)
etc. (be sure to aways use .dd or you'll learn why)

Save colors [0,1,14,15] as background colors
Do not stray far from default colors to setup themes
based on those four background colors, but do shift
them slightly for better contrast with each on the four
background colors.

Make use of /color to shift them on theme change.
;Change the active color scheme to mIRC Classic
/color -s \"mIRC Classic\"
;Change the color of 1 in the color palette to purple (128, 0, 128).
//color 1 $rgb(128,0,128)
;Restore the original color
/color -r 1
;Change the color of the background to 1 (1 by default of black)
/color Background 1

About 80% of women and half the
guys will use light gray #15 as background, the 2nd
most used bg color will be black #1 followed by white #0.
It would be an odd duck that chooses dark gray #14, but
I exclude it as a color option just to round out the numbers.

To fix background colors used in messages
look at this post: http://hawkee.com/snippet/2795/
PROTIP: Only connect to freenode where colors are forbidden

Unfortunately if you change themes in the pallet editor (crayons)
there is no signal of that change (that I currently know of) to
initiate a script to fix all the other colors as in nicklist
colors or to shift all the $RGB values of colors for better
contrast. Khaled has failed to connect the dots in several
areas that you don't really figure out until you try to
take a script to it's logical conclusion.

Protheus  -  9 days ago

Thanks (i guess) for your opinions, but i like my colors. They are easily editable to the users liking.
As far as the "halt abuse", it works, so why complain?

Sign in to comment

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.