Rolisteam / DiceParser

Powerful dice Roller is used as discord bot, irc bot, cli tool and inside Rolisteam : 1d20+4, 1L[head,arm,leg,belly,chest], 1d6+1d8, 8+5*3
http://www.rolisteam.org/
GNU General Public License v3.0
125 stars 31 forks source link

Another macro issue #20

Closed Jess-Rivera closed 6 years ago

Jess-Rivera commented 6 years ago

I've been able to add and remove macros thanks to your help, but now it seems that i can't get it to work with multiple instructions like shown here. Here is another image from my work macro bug. Thanks so much for your quick turn around. You are amazing!

obiwankennedy commented 6 years ago

\macro list only shows somethings when there is macro to display. But in your case, as you put some space inside your macro adding it does not work.

if you replace all spaces by _, you should be able to add it and then to see it when you list it.

I have to fix that.

Jess-Rivera commented 6 years ago

I'm sorry, i must be doing something wrong or just reading the instructions stupidly. but now that i've gotten them into the macro list i cant get them to run. macro bug

obiwankennedy commented 6 years ago

Yesterday, I tried to add management of space character when adding macro, but I think I broke something about the roll of some macro. ok it should be fixed. Macro are saved inside files. On file per server. I looked for your macros and find the right file. I checked it, and I saw a short mistake (due to my yesterday changes). I fix it both, in the file and in the bot, preventing it to happen again.

Jess-Rivera commented 6 years ago

Thank you so much. Everything is working perfectly and exactly!