kalabasa Posted August 2, 2023 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share 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 Link to comment Share on other sites More sharing options...
0 Winterfox Posted August 2, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted August 2, 2023 if(select("Yes:No") == 1) $@yes++; else $@no++; announce("Yes: " + $@yes + " No: " + $@no, bc_all); Quote Link to comment Share on other sites More sharing options...
0 kalabasa Posted August 2, 2023 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Author Share Posted August 2, 2023 Hmmm, If I click No it will add up to Yes Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted August 2, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share 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 Link to comment Share on other sites More sharing options...
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") + " ?";
Link to comment
Share on other sites
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.