Top

Code Snippets by log2

  (23)  
Sort by 
I know this has probably been done before, but I will post my version of it here, plus I haven't seen one... I just wrote this today, and it seems to work for mem tell me if it doesn't for you and we'll..
Tags: color  replace  reptok  smile  smiley 
+ 0 likes
3 comment(s)    Score: 0.0    Platform: mIRC    Posted by log2 on Aug 22, 2006
Well the comments explain it all, but the jist is: Paste in fresh script Right click Fill in Information hit talk What it does, it let's you talk through a bot if you channel has one from the bot..
Tags: bot  botserv  talking 
+ 0 likes
0 comment(s)    Score: 3.0    Platform: mIRC    Posted by log2 on Aug 21, 2006
This reads information from an ini file <br><BR> Now to get this to work, make an ini file called hello.ini in a folder called hello from your main ruby directory, place this code into the..
Tags: inis 
+ 0 likes
0 comment(s)    Score: 0.0    Platform: Ruby / Rails    Posted by log2 on Nov 10, 2005
This will create a dialog that lets you connect to a new server withought having to go to the options menu... it's not much but I made it for a friend and I decided to submit it to this site... Usage:..
+ 0 likes
7 comment(s)    Score: 4.7    Platform: mIRC    Posted by log2 on Jun 11, 2005
This isn't a big fancy login system, but someone asked me to write them a small loging system and when I was done, I realized that it wasn't that big so I decided to put it on here... There are 5 files,..
+ 0 likes
17 comment(s)    Score: 5.7    Platform: PHP    Posted by log2 on May 16, 2005
This is the ever popular Petals Around the Rose game converted to PHP!! it's fairly long, but it only took about 30 minutes to code... I used numbers rather than pictures because I can't post pictures..
+ 0 likes
4 comment(s)    Score: 4.0    Platform: PHP    Posted by log2 on May 14, 2005
This changes the colour of the background depending on the day of the week! Just place this after the (/head tag) and before the (body) tag (which you will have to take out)
+ 0 likes
3 comment(s)    Score: 3.0    Platform: PHP    Posted by log2 on May 08, 2005
a VERY simple channel protector, if you find anything wrong or anything I should add to it please post it below in the comment section :D By the way you really have to do nothing to set it up... just change..
+ 0 likes
9 comment(s)    Score: 6.2    Platform: mIRC    Posted by log2 on Apr 03, 2005
Ok this is a script that will convert a number to binary.... a binary number to a number or a character to binary, or binary to a character.... It's very easy to use... just type help if you don't get..
+ 0 likes
2 comment(s)    Score: 6.8    Platform: mIRC    Posted by log2 on Mar 29, 2005
This is what I've been slaving over for the past 5 hours.. A person enters a binary value and this little beuty converts the binary entered into a character! pretty easy to use, type !b-t to use it. but..
+ 0 likes
2 comment(s)    Score: 5.0    Platform: mIRC    Posted by log2 on Mar 13, 2005
This is when you see the <$nick> or ($nick) It changes it to look like: +/%/@ <-- Depending on their status ($timestamp /\ $nick) @/%/+ And you can change on to a certain person who you want..
+ 0 likes
7 comment(s)    Score: 5.0    Platform: mIRC    Posted by log2 on Mar 09, 2005
This is an update on Hawkee's e-mail form, it's smaller, at least I think it is, than his and it also looks slicker in a browser, you can fit it in mostly any place! It may be smaller but his is less confusing,..
+ 0 likes
1 comment(s)    Score: 4.0    Platform: PHP    Posted by log2 on Dec 20, 2004
This is the best little snippet you'll ever see on this site, maybe. . . depends on how many years this site will be around, it's going pretty good right now, but anyway this snippet will make it so when..
+ 0 likes
5 comment(s)    Score: 5.0    Platform: PHP    Posted by log2 on Dec 20, 2004
an easy little guestbook that can be viewed and edited! All you need to do is make a file called comment.txt... This part only writes into the guestbook, it does not, i repeat does not display it in anyway!..
+ 0 likes
3 comment(s)    Score: 6.5    Platform: PHP    Posted by log2 on Dec 20, 2004
This will show a random link when someone comes to your page
+ 0 likes
4 comment(s)    Score: 5.0    Platform: PHP    Posted by log2 on Dec 20, 2004
This is similar to the last one I wrote, but this one tells the person how many lines are in a text file instead of how many files are in a directory. This can be useful on an informational site to forwarn..
+ 0 likes
0 comment(s)    Score: 3.0    Platform: PHP    Posted by log2 on Dec 20, 2004
This is another simple script, it tells you how many files there are in the specified directory, It can be used if you have a user system and you have downloadable files you can tell people how many files..
+ 0 likes
0 comment(s)    Score: 3.0    Platform: PHP    Posted by log2 on Dec 20, 2004
This is a basic script that is needed by any PHP scripter if they are using MySQL in any script:
+ 0 likes
3 comment(s)    Score: 3.5    Platform: PHP    Posted by log2 on Dec 20, 2004
This is a more complex counter than the last one I wrote, this one will tell you any error and it will tell you when it's been updated, all you have to do is make a file counter.txt
+ 0 likes
0 comment(s)    Score: 4.0    Platform: PHP    Posted by log2 on Dec 20, 2004
This script will log every person who comes on to your site, if you put this on every page with a new file for each page then you could tell what every person did on your site unless they download something...
+ 0 likes
1 comment(s)    Score: 4.0    Platform: PHP    Posted by log2 on Dec 20, 2004
When you go to google and it says, it took 0.000123 seconds to find 123134134 items, and you think to yourself, wow I wish I could see how long it takes to load my page, well now you can! this is another..
+ 2 likes
5 comment(s)    Score: 7.0    Platform: PHP    Posted by log2 on Dec 20, 2004
All this does is show the person on the site what their IP address is, it's not extremely useful, but it's extremely easy and comes in handy if you're logging each visitor! you can tell them their IP address..
+ 0 likes
2 comment(s)    Score: 2.0    Platform: PHP    Posted by log2 on Dec 20, 2004
This will add a counter to your site, all you have to do is make a file called count.dat (lower case, most are case sensitive about file names) and place the following code where you want the counter to..
+ 0 likes
2 comment(s)    Score: 3.0    Platform: PHP    Posted by log2 on Dec 20, 2004
Bottom