Coder Social home page Coder Social logo

acornlib's People

Contributors

treescrub avatar

Stargazers

 avatar

Watchers

 avatar  avatar

acornlib's Issues

Split up ScheduleTask

Split ScheduleTask into seperate functions for repeating tasks, timestamp tasks, and delayed tasks.

Add logging function for custom log levels

Currently there is no simple way to log messages with a custom log level. Either a function should be added for each custom log level, or there should be a generic log function that takes a message and the level.

Create 'convars' module

The module should allow creation of custom convars (using setinfo cvar value), with listeners for when convars change.

Tasks do not repeat properly

Tasks with the repeat option do not reset their time when repeating, causing them to execute every tick after reaching the scheduled time.

Add example scripts

Add example scripts for each module, maybe write/rewrite a somewhat complicated mutation.

Pass arguments directly to task function

Instead of having the arguments as variables in the same scope as the function, take an array of the arguments and pass them directly to the function as parameters.

Inaccurate logger location regex

Currently the logger location regex assumes folders will be word characters or whitespace. It also assumes the calling script will be an actual script, as opposed to an anonymous script (for example, a script parsed and executed using the "script" command)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.