O.P. [Request] Disable/Enable.
Hi people,
I'm french so, i'm really sorry if you don't understand me immediatly. I'll try to do the best i can. :/
So, i need to get a part of script to active/desactive my script with a variable for example. I mean, a menu with the name of my script, and one option : "Disable" and "Enable", When my script is enable, i want a var with 1, and Disable 0. ^^
But i really don't know how to do that, i was trying with some scripts (Like Answering Machine Plus!), but i can't do same. Can you please help me ? ^^
Thanx,
Best regards.
EDIT : And on my JS, i'll need to do a if(Enable == 1), but i don't know how to get the var.. please help. ^.^
EDIT ² : I can make it with "goto", but i don't know how to place "goto". :/
This post was edited on 04-09-2010 at 08:12 PM by Seed.
|