Top

To Do List - Dialog


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  4.0
Scores Submitted  3
Date Added  May 31, 2008
Last Updated  Jun 05, 2008
Tags  dialog  do  list  to 
  Bookmark and Share

Introduction

This is just a simple To do list, i felt like scripting something because i was getting bored, and i like to wrote dialogs, so here it is!
Instructions:
Add Item - Type in one item that you need to do and click "OK"
Del Item - Select finished or unwanted item and click "Del Item"
Enjoy!

Grab the Code

Comments

  (6)  RSS
Scakk
Comments: 239
 
mIRC Snippet:  To Do List - Dialog
Posted on May 31, 2008 4:24 pm
1) If you click delete it will delete the first item in the list. Perhaps make it so teh button is only active if an item is selected.

2) If there is nothing in the .txt file have it delete the file until something is added back to it.

3) No point in the close button as you can close with the red x. Perhaps have and edit option.
Eugenio
Comments: 1,103
 
mIRC Snippet:  To Do List - Dialog
Posted on Jun 2, 2008 4:22 pm
I thought you would be able to type in exactly what you have to do not just the name of the task.
/me rates 7
RagBot
Comments: 34
 
mIRC Snippet:  To Do List - Dialog
Posted on Jun 5, 2008 4:03 pm
i used the close button to use up a bit of extra space, i'll change around add and del item buttons but for Scakk's idea:
Quote:
If you click delete it will delete the first item in the list. Perhaps make it so teh button is only active if an item is selected.

i'm not sure how to do it, so if anyone knows how to do so just comment below with instructions how to add the code :) Thanks.
Also Eugenio, you can add exactly what you have to do, i'm just not sure how long it can be until it doesn't work.
napa182
Comments: 1,152
 
mIRC Snippet:  To Do List - Dialog
Posted on Jun 5, 2008 4:58 pm
/help /did
look at switches -b and -e
did -switch name id [n] [text | filename]
Bahamut
Comments: 5
 
mIRC Snippet:  To Do List - Dialog
Posted on Jun 6, 2008 1:15 am
The dialog itself functions properly, however there are a few scripting things you could change. /loadbuf -ro <stuff> eliminates your /did -r; take a look at the helpfile and the /loadbuf switches a bit more. Your lack of error checking is not a good thing. You need to check things like:

    If the user has selected an item before deleting it.
    If the user has entered text into the textbox before adding it.
    If the dialog is in use.


Not to mention, the concept and script is rather simple... I think you should have worked this out a little more before release.
RagBot
Comments: 34
 
mIRC Snippet:  To Do List - Dialog
Posted on Jun 14, 2008 5:01 pm
I'm still a bit of a new scripter, i do have a few more things to learn, so bear with me as this is really a practise/pass time dialog. :)

Please Register or Login to start posting comments.
Bottom