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.
Code:
(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.

Last edited by Raccoon; 24/09/03 11:45 PM.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!