I'm trying to change the dice roller script by Rctll to be an emote instead of just a chat message.
Editing the script I'd think I could just change the line:
code:
return ('I get a ' + r + ' with a ' + base + ' sided dice.');
to
code:
return ('/me got a ' + r + ' with a ' + base + ' sided dice.');
This works when I have no arguments but once I specify a number (eg. /roll 100) the emote goes through without my name like this:
> got a 80 with a 100 sided dice.
Any ideas?