ki77bot
Member
I haven't updated my daily build in a while (i've been using 8891), but now that I did, I noticed that something changed with the way logical operators are being processed.
this used to work:
So, if either char1 OR char2 used the script AND user-confirmed the functions would execute. But with the updates the functions would execute for char1 WITHOUT user-confirmation, but would still work OK for char2.
Yeah, I noticed there were some changes done with those operators, but i'm still not sure, how it will work the way it did before. Could someone help me out?
Cheers,
ki77bot
this used to work:
Code:
if (my_name() == "char1" || my_name() == "char2" && user_confirm("Are you sure?")){
func1();
func2();
}
So, if either char1 OR char2 used the script AND user-confirmed the functions would execute. But with the updates the functions would execute for char1 WITHOUT user-confirmation, but would still work OK for char2.
Yeah, I noticed there were some changes done with those operators, but i'm still not sure, how it will work the way it did before. Could someone help me out?
Cheers,
ki77bot