...
 
Commits (2)
......@@ -154,7 +154,7 @@ function applyColours(word) {
// simple fucntion to recolour users
function recolour() {
var userinput = mw.input();
var userinput = mw.input("Enter username, optionally followed by a space and a colour code: ");
var inputs = userinput.split(" ");
if (inputs[1]) {
......@@ -171,7 +171,7 @@ register("recolour",recolour,"Recolour a user. If you enter just a username, ran
// function to delete a user from the colours 'db'
function deleteColour() {
var userinput = mw.input();
var userinput = mw.input("Enter username: ");
delete usercolours[userinput];
mw.store["usercolours"] = JSON.stringify(usercolours); //update the mw.store object
}
......