


in this case it is w, which means “any letters uppercase and lowercase letters, numbers, and underscores”. the capture group (what you are looking for) is always wrapped in (). Well, the first part of the statement (before the ()) is the beggining of what we are looking for what happens before what we are looking for. Go to the website regex101, and place it on the javascript flavor.Īdding the regex above with the nuutec.public page (without args) with return this: think of it like a book, the book being the variable, and each of the pages being a piece of data. Regex is a method to search the contents of a string and store it within an array, to then be used later.Īn array is a datatype which stores multiple pieces of data in “sections”. The statement withing the parentheses is what will be checked each run (be aware that this can go on forever if the condition isnt met, so always make sure that there is a way it can end). if done right, then the file should read this: Once that is done, just open your test file. on default, it is located in C:UsersYOUR_USERAppDataLocalatomatom.exe atom isnt here, so we will have to point towards its. You will get a new window asking for a program. close the popup message, then right click on the new file you have created, click “properties”. If you are following this guide with windows, then you will get an error if you dont have a default program set to open. #edit test, where “test” can be any name, just as long as it doesn’t have any spaces. todo this, go back into hackmud, and type: Yours probably won’t have any scripts in it, since this is probably your first time opening it. This should open your default file explorer to the folder where all of your scripts will be stored. this guide (previous experience in any programming language is excellent, but not required).

an IDE(integrated development environment), this is what you will be programming with, a good option is atom.I would recommend setting your game in borderless windowed mode.To get started programming for js (for the purposes of simplicity, i will refer to javascript as “js”), you will need a few things, discussed here.
#Hackmud data check lock how to#
This guide will walk you through how to do this, and kickstart your scripting experience (and hopefully gain interest in learning programming, not just for hackmud). this can be a bit of a process, but you could write a script that finds all the users, and outputs them to the screen, turning possibly 5 minutes into only a couple of seconds. Say that you are looking for users in a t1 corp. So what are something you can do with it? Scripting is a fun way to create challenges for yourself in the game, and as a overall goal. Hackmud is a game about larceny, theft, and deception… or it is about scripting! This guide will teach some basic javascript info, walk you through how to make a script, and how it interacts with hackmud.
