Using dice in a function
Page 1 of 1
Using dice in a function
Hello,
First of all, I am quite new to coding as a whole, but I am trying to create a system in my forum, where you take the values of the dices roled and use them. My question today is, how can I specifically take only the roles (with or without the images).
When a user rolls, it creates a new post with:
I need the javascript to see what user(tower), what dice (R6), how many (3) and what values(4,5,2). I need this information to be saved in vars for me to use them. I though i would get the elements by class, but because this seems like a normal post, the function would also get every non dice roll. Help
Thank you for your time,
Al
First of all, I am quite new to coding as a whole, but I am trying to create a system in my forum, where you take the values of the dices roled and use them. My question today is, how can I specifically take only the roles (with or without the images).
When a user rolls, it creates a new post with:
The member 'The Tower' has done the following action : Kauliukai
'R6' : 4, 5, 2
I need the javascript to see what user(tower), what dice (R6), how many (3) and what values(4,5,2). I need this information to be saved in vars for me to use them. I though i would get the elements by class, but because this seems like a normal post, the function would also get every non dice roll. Help
Thank you for your time,
Al
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum