Sorry, we don't support your browser.  Install a modern browser
This post is closed.

AR buttons ({addbutton:} + {buttonaction:})#137

I don’t exactly know but i’m pretty sure coding buttons things is probably hard, sp if it’s too much work, dont worry, i understand! It was just a random idea that we’t through my mind in class :’)

  1. {addbutton:}
  2. usage: {addbutton:<name>|[colour]|[emoji]}
  3. e.g. {addbutton:get a cookie!|#ffffff|:cookie:} ; {addbutton:click me <3}
  4. if there’s mutiple bottons: {addbutton:} {addbutton2:} {addbutton3:}

  5. {buttonaction:} (either 1st or 2nd usage)

  6. 1st usage: {buttonaction:<variable1>|[variable2]|...}
  7. e.g. {buttonaction:{addrole:@cookie cutie}|{modifybal:500}}
  8. 2nd usage: {buttonaction:<variable(s)/text>} (same things than in ar’s)
  9. e.g. {buttonaction:{addrole:@cookie cutie}{modifybal:500}Hi, {user}! Here's 500 {server_currency} and the @cookie cutie role, but most importantly your cookie :cookie:!}
  10. if there’s multiple buttons: {buttonaction:} {buttonaction2:} {buttonaction3:}

  11. Full usage/example of ar (if 2nd usage of {buttonaction:})

  12. raw: .ar + .cafe | {embed}{addbutton:coffee|#(insert brown hex)|:coffee:}{buttonaction:{addrole:@coffee} your ordered a **coffee** :coffee:!}{addbutton2:pancakes|#(beige hex)|:pancakes:}{buttonaction2:{addrole:@pancakes} you ordered **pancakes** :pancakes:!}
    *What would you like to order?*
    > :coffee: **coffee**
    > :pancakes: **pancakes**
    __Click on the corresponding button to order!__
4 years ago
1
Changed the title from "Buttons system ({addbutton:} + {buttonaction:})" to "AR buttons ({addbutton:} + {buttonaction:})"
3 years ago

oh, this was before i launched button responders.
this is literally button responders. LOL v8.6

19 days ago
Changed the status to
Completed
19 days ago