Mental Note adder

By T7Davey on Sep 15, 2007

This is a ver simple script that just adds your mental notes in a txt file, you can view them all in a @window, and edit them. I have yet learned how to make a menu to delete the notes.

menu * {
  Mental Notes
  .Add Note: set %mental $$?="Mental Note" | write mental.txt *Mental Note* %mental | echo -a Mental Note added
  .Say Note: msg $chan $read mental.txt
  .Edit Notes: run mental.txt
  .View Notes:window @MentalNotes | if ($exists(mental.txt)) { loadbuf -p @MentalNotes mental.txt
  }
}

Comments

Sign in to comment.
guest598594   -  Oct 05, 2007

also, the mental notes would just keep on addin to the file, u should like make a dialog and have it show u the mental notes, and ask if ud like to erase it

 Respond  
guest598594   -  Oct 05, 2007
  .Say Note: msg $chan $read mental.txt

make it

  .Say Note: msg $chan $read(mental.txt)
 Respond  
T7Davey   -  Sep 17, 2007

Thanks, I\'ll keep that in mind :)

 Respond  
guest598594   -  Sep 16, 2007

no need to set %mental, just do

write mental.txt *Mental Note* $$?=\"Mental Note\"
 Respond  
T7Davey   -  Sep 15, 2007

Enjoy :)

 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.