Question for rolling a dice

Discussion in 'XenForo Add-On Support' started by Robert9, Jun 3, 2017.

  1. Robert9

    Robert9 New Member

    Likes Received:
    0
    Local Time:
    2:43 AM
    I have just found your addon and be very impressed about possible use for it if i understand it in the right way.

    I have not installed it and before i start i just want to know if this is possible:

    I would like to have a new bbcode, called [whatever]1,20,3,1,0[/whatever];
    is it easy to send this values to normal php, where i do something and send a result back to the addon to have a new post with my results?
     
  2. Bloodcinder

    Bloodcinder Bird Bird Bird Developer

    Likes Received:
    324
    Local Time:
    8:43 PM
    The Postbot add-on, which is what is used by the dice-rolling trigger pack, does not support BBCodes. You may want to look at the documentation at Xenforo for more information. Otherwise, you may want to install the add-on and the dice-rolling trigger pack and look at the examples in the Admin CP to see how they work.
     
  3. Robert9

    Robert9 New Member

    Likes Received:
    0
    Local Time:
    2:43 AM
    Somehow it is the same, i have understood.
    A bbcode make a regex to something insider a post. Your mod makes a regex and answers with a new post.
    The way is quite different, but the idea the same: pass a special "word/syntax" and get information back.
    I will try it. Thank you for doing it.