kalabasa Posted August 2, 2023 Posted August 2, 2023 How would it display how many player chooses yes or no?, i want to be announced eg Yes: 99 No: 100 mes "" + " " + (.@s == 1 ? "Yes" : "No") + " ?"; Quote
0 Winterfox Posted August 2, 2023 Posted August 2, 2023 if(select("Yes:No") == 1) $@yes++; else $@no++; announce("Yes: " + $@yes + " No: " + $@no, bc_all); Quote
0 kalabasa Posted August 2, 2023 Author Posted August 2, 2023 Hmmm, If I click No it will add up to Yes Quote
0 Winterfox Posted August 2, 2023 Posted August 2, 2023 Then you are doing something wrong. I tested it and it works fine for me. prontera,155,177,5 script Test 100,{ if(select("Yes:No") == 1) $@yes++; else $@no++; announce("Yes: " + $@yes + " No: " + $@no, bc_all); end; } Quote
Question
kalabasa
How would it display how many player chooses yes or no?, i want to be announced
eg Yes: 99 No: 100
mes "" + " " + (.@s == 1 ? "Yes" : "No") + " ?";
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.