Quote:
Originally Posted by zreenmkr
Am assuming you've created 'EventScripter Trigger' button. You need to give that each button a unique name and it is case sensitive.
1st Button
Code:
if (name == "My Button1 Name") {
//if button you rename from 'EventScripter Trigger' to '"My Button1 Name'. When this button is pressed then only this 1st codes in this body will be executed
}
2nd Button
Code:
if (name == "My Button2 Name") {
//if button you rename from 'EventScripter Trigger' to '"My Button2 Name'. When this button is pressed then only this 2nd codes in this body will be executed
}
|
thank you ,
I had changed the names even before but I noticed that I had not used what I indicated
inside the script (I used the name of the script).
fixed names are now working properly