A good idea.
Alternatly, I'd like to see Script Variables that are local to a script file, or Static Variables local to an alias/event that do not expire. These could double in functionality as "Constants" and gives you the option to modify them by script.
(beginning of file)
static %settings = settingsfile.ini
static %botname = TrivServ
Alias something {
static %calls = %calls + 1
writeini %settings Something Calls %calls
}
Unlike global variables, the values for these variables wouldn't be stored in a file, but simply kept in memory like hashtables are. If mIRC restarts, their values are reset.
There are some similar ideas
posted here aswell.
- Raccoon
PS. Yes, yes, codemastr... Constants are not Variables are not Constants. Our disagreements have been dualy noted in the above link.