home *** CD-ROM | disk | FTP | other *** search
/ PC-X 1997 October / pcx14_9710.iso / shutils / internet / irc / script / bw10b1.exe / notepad.bio < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.4 KB  |  13 lines

  1. Remove Line:dline @NotePad@ $sline(@NotePad@,1).ln
  2. Insert Line:iline @NotePad@ $sline(@NotePad@,1).ln $$?="What do you want to add?"
  3. -
  4. New File::loop | set %temp $$?="Save Changes to File? (y/n)" | if ((%temp != y) && (%temp != n)) { goto loop } | if (%temp == y) { savebuf $lines(@NotePad@,0) @NotePad@ $$?="Enter a filename:" | window -c @NotePad@ | notepad } | if (%temp == n) { window -c @NotePad@ | notepad } | halt
  5. Save File:savebuf $lines(@NotePad@,0) @NotePad@ $$?="Enter a filename:"
  6. Open File
  7. .*.txt:clear @NotePad@ | set %temp $dir="Enter Text file to edit:" $mircdir*.txt | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp
  8. .*.ini:clear @NotePad@ | set %temp $dir="Enter INI file to edit:" $mircdir*.ini | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp
  9. .*.doc:clear @NotePad@ | set %temp $dir="Enter DOC file to edit:" $mircdir*.doc | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp
  10. .*.rtf:clear @NotePad@ | set %temp $dir="Enter RTF file to edit:" $mircdir*.rtf | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp
  11. .*.log:clear @NotePad@ | set %temp $dir="Enter LOG file to edit:" $mircdir*.log | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp
  12. .*.bio:clear @NotePad@ | set %temp $dir="Enter BIO file to edit:" $mircdir*.bio | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp
  13. .*.*:clear @NotePad@ | set %temp $dir="Enter Any file to edit:" $mircdir*.* | /loadbuf 1- $+ $lines(%temp) @NotePad@ %temp