The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Using dice in a function

View previous topic View next topic Go down

Using dice in a function

Post by Algimantas Rauduve on October 7th 2016, 5:49 pm

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:
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 Sad

Thank you for your time,
Al

Algimantas Rauduve
New Member

Posts : 1
Reputation : 1
Language : English

http://mastertopupil.forumlt.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum