自定义变量名字改掉,不要用var 1 ,用其他你喜欢的先输入 比如UserVar a=0 "设置内容" //意思相当于a=0if a=x thenesleif a=d thenend if然后进行判断,自定义变量就是一个普通的变量,没什么特别,只不过可以在设置界面中改罢了希望对你能有所帮助。