Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Inline code when accuracy drops below a percentage in OS

Hi,

I would like to raise a warning message when the participant's accuracy drops below let's say 80%.

I have found the code for the inline script and connected it to a feedback item. My problem I do not know how to make the message appear instantly (i guess with Run if) when the accuracy drops below 80%.

See my pictures please:

The above is what I have done so far. Any ideas for the message to appear please not at the end of the routine but instantly when accuracy drops please?


thanks,

Nomi

Comments

  • FabFab
    edited July 16

    Hi @nomi,

    You don't actually need any coding, just create a feedback screen with the message you want to display if accuracy is lower than 80% in a block, and set "Run if" to :

    [acc]<80
    

    ๏ปฟ

    Note that in the future, if you wanted to combine conditions, say for example, to show a warning if % accuracy is lower 80% or mean RT is greater than 800ms, you can insert multiple conditions in the "Run if":

    [acc]<80 or [avg_rt]
    

    I attach a basic script where I implemented it (note that I based in on an example I set up to help someone else, so there's stuff in there you don't need; script to calculate the number of remaining trials . just ignore it. What you want to achieve does not actually require any scripting).

    Hope this helps!

    Fabrice.

    If you found my reply helpful and wish to invite me to a coffee, you can do so here ๐Ÿ˜‰ Buy Me A Coffee

  • edited July 16

    Your are fab Fab! I will give it a try and let you know! It's funny because I tried something like this but in combination with a script as well, and I messed it up I guess!

    I will get back to let you know how I did!

    Thanks again!

  • Hi @nomi,

    Hope it works out! Good luck!

    Fabrice.

    PS: just a tip... when replying in this forum, if you type "@" and your correspondent's username, you'll a see menu from which you can select that correspondent. The advantage of that is that your correspondent then get notified that there's a message from you waiting.

    Example, if you start typing @F:


    If you found my reply helpful and wish to invite me to a coffee, you can do so here ๐Ÿ˜‰ Buy Me A Coffee

  • Thanks @Fab !

    I made it! I do not believe it was that easy!!!


    Thanks again,

    Nomi

  • Hi @nomi,

    You're welcome. Glad you got it to work! Good luck with your study!

    Fabrice.

    If you found my reply helpful and wish to invite me to a coffee, you can do so here ๐Ÿ˜‰ Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games