I think its a good idea, and maybe even usefull to some beginning scripters, however, like Jethro said, it is very limitted!
Also, the set a var is incorrect. You can only increase a var by 1 nothing else. (Which would make it 'increase a var by 1', not 'set a var')