macman104
Member
First off, wow it's been a long time since I've posted a script or anything. Anyway though. This is a namespaces script. What it does is allow functions written in this script to be called from the gCLI or CLI like a regular function. It is a utility script. To read about namespaces, you can read holatuwol's post here. I now present the script, most of the functions should be pretty obvious in what they do. I've personally used all the functions except for buyMaxSeltz. The buySeltz is awesome, and I've been using it since earlier tonight and it's nice to just give mafia a price I'm willing to spend it for it to buy those seltzer. For these function, you should not need to include things in parentheses. If you need to pass a string that is more than one word, you will need to include it in quotes however.
Feel free to ask questions or suggest additional utility functions to add, cause if you think it's helpful, I probably will as well, and want to add it myself.
To use this script in your CLI, you have to add the script to your namespace. To do this, you simply type
using Namespaces.ash
This will put the namespaces script into your, well..namespace.
Feel free to ask questions or suggest additional utility functions to add, cause if you think it's helpful, I probably will as well, and want to add it myself.
To use this script in your CLI, you have to add the script to your namespace. To do this, you simply type
using Namespaces.ash
This will put the namespaces script into your, well..namespace.