• Ok. I made an edit to the questions4points module in Cubepoints. It works. My intent is for the user to type in a number of points and to recieve the exact number they type back as their points. I was able to do it for 4 successfully, but I need to do this 750 times. I crash coursed myself into PHP only a few days ago and don’t know how to loop. I think a loop is what I need, but I don’t know how to begin it.

    The original file by Slyspider is here :

    https://cubepoints.com/forums/topic/answer-question-for-points-module/
    and here https://pastebin.com/7eguC18n

    My edits are here.
    https://pastebin.com/Gf0q1PKv

    Any ideas on how to perform the loop? I feel like I’d have possibly set numerical values, or somehow make a list of numbers and their values.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to Loop, regarding a Answers4points module in Cubepoints’ is closed to new replies.