Implemented Hack and sleep in script. IMplemented functionality that allows scripts to stop (rejecting the Promises). Scripts will now automatically stop if they are not infinite. THIS IS UNTESTED TEST THIS WHEN I CAN. Still need to implement kill command

This commit is contained in:
Daniel Xie
2016-12-05 16:31:46 -06:00
parent 6d9f0669ba
commit 437ebc2703
6 changed files with 158 additions and 11 deletions
-3
View File
@@ -1,6 +1,3 @@
//TODO Saving only works with stirngs.key value pairs. Think of a system to do saves
// And everything with all the things I have
//Replaces the character at an index with a new character
String.prototype.replaceAt=function(index, character) {
return this.substr(0, index) + character + this.substr(index+character.length);