dTodoList: type: command name: dtodo debug: false permission: dtodo permission message: <&c>Sorry , you don't have the permission to use this command. usage: /dtodo <<>add/check<>> description: A to-do list powered by Denizen. allowed help: - determine |||| aliases: - todo - task script: - choose : - case add: - if == 0 { - narrate "<&c>[dTO-DO] Please specify a name for the task you want to add." - queue clear } - flag player "dtodo:->:" - narrate "<&d>[dTO-DO] The task has been added to your to-do list. You now have to-do task listed." - case check: - if == 0 { - narrate "<&c>[dTO-DO] Please specify the number of the task you want to check." - queue clear } - if { - narrat "<&c>[dTodo] You don't have any task in your dTodo list right now. You can add one with add." - queue clear } - if ! >= { - narrate "<&c>[dTodo] You don't have any task at the line number . You have task in your to-do list. You can add more with add." - queue clear } - flag player dtodo[]:<-: - if { - narrate "<&d>[dTO-DO] Great! Your to-do list is now empty. Create new task with ' add'!" - queue clear } - narrate "<&d>[dTO-DO] The task has been checked. You still have tasks to-do. Get back to work!" - case null: - if { - narrate "<&d>[dTO-DO] Your to-do list is empty right now. You can add tasks to it with add." - narrate "<&d>[dTO-DO] When you wish to remove a task, do check [task_number]." - queue clear } - narrate "<&a>###### YOUR dTO-DO LIST ######" - foreach { - narrate "- [%loop_index%] %value%" } dTodoList_Tracker: type: world debug: false events: on system time hourly: - webget "http://stats.denizenscript.com/tracker?script=112&version=1.0"