How to Make IRC Scripts: Difference between revisions

Jump to navigation Jump to search
Line 5: Line 5:
fortune gives random quotes. Point it to a file and it will give a line of information from that file. strfile is used to create fortune files. A plain fortune file looks like this:
fortune gives random quotes. Point it to a file and it will give a line of information from that file. strfile is used to create fortune files. A plain fortune file looks like this:


Quote 1
  Quote 1
%
  %
Quote 2
  Quote 2
%
  %
Yore ma blows goats
  Yore ma blows goats
%
  %
joe5ie is the shit
  joe5ie is the shit


Save your quotes into a file, and run strfile <filename>. That will create a .dat file. You will need both later on.
Save your quotes into a file, and run strfile <filename>. That will create a .dat file. You will need both later on.


== The Code ==
== The Code ==
145

edits

Navigation menu