I have a script that sets a variable on command
i.e.
-set var1 hello
so that when someone says
!greet
the bot says "hello"
the reason I don't set one in my seperate .tcl file that holds all of the variables is because everytime it restarts it resets it to the default variable, so I am hoping someone can help me out on one of two solutions
1- if the variable is blank "" on startup, it returns "not set up"
2- how to save the variable once it is set so that it stays that way through rehashing and restarting
thanks in advanced