Colours!

By PoiXon on Jan 12, 2005

Just A Simple Colour thing.

menu nicklist {
  Colours!
  .on { set %thingy on | echo -a 4C3o4l3o4u3r4e3d 4S3c4r3i4p3t 4N3o4w 3O4n 3!4!3! }
  .off { unset %thingy | echo -a 4C3o4l3o4u3r4e3d 4S3c4r3i4p3t 4N3o4w 3O4f3f 4!3!4! }
}
on *:INPUT:*:{ 
  if ($left($1,1) != $chr(47)) && (%thingy == on) { 
    say $replace($1-,a,9A,b,6b,c,14C,d,4D,e,13e,f,7f,g,10G,h,13h,i,2I,j,12j,k,11k,l,3L,m,5m,n,8N,o,14o,p,7P,q,6q,r,11r,s,3S,t,10t,u,5U,v,2v,w,13w,x,7x,y,8y,z,3Z,:,4:,>,12>,<,2<,!,11!)
    halt 
  }
} 

Comments

Sign in to comment.
PoiXon   -  Jan 13, 2005

Changed

 Respond  
DarthReven   -  Jan 13, 2005

you don\'t need the goto loops in this type of script all you really would need is if ($left($1,1) != $chr(47) && (%thingy == on) { other then that looks good

 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.