So I'm writing a Craftbot script for my clan to use and I've run into a few problems.
I've been trying to find a way to have Mafia automatically run my script every X minutes or whenever a new Kmail is received. I haven't seem any mention of such a feature anywhere either. How could I go about doing so?
I also need to find a way to check if a request is valid instead of having the script crash every time it encounters "boring spagehtti" or "lucky suprise egg". A friend told me to try contains_text(to_string($item[]), "boring spagehtti") but that doesn't seem to be working. Any help would be greatly appreciated!
I've been trying to find a way to have Mafia automatically run my script every X minutes or whenever a new Kmail is received. I haven't seem any mention of such a feature anywhere either. How could I go about doing so?
I also need to find a way to check if a request is valid instead of having the script crash every time it encounters "boring spagehtti" or "lucky suprise egg". A friend told me to try contains_text(to_string($item[]), "boring spagehtti") but that doesn't seem to be working. Any help would be greatly appreciated!