Shoutbox

Changing dice roller script to emote. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Changing dice roller script to emote. (/showthread.php?tid=63263)

Changing dice roller script to emote. by pqee on 07-14-2006 at 04:50 PM

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?
RE: Changing dice roller script to emote. by AberNStein on 07-14-2006 at 08:53 PM

quote:
Originally posted by pqee

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.
umm that's what an emote is.
if i typed /me slaps you with a fish
it would send (in purple i think)
> slaps you with a fish
RE: Changing dice roller script to emote. by Chris4 on 07-14-2006 at 09:09 PM

In Windows Live Messenger, you can type multiple messages, without your name coming up every time (know what I mean?), well.. the screenshot explains itself:

[Image: attachment.php?pid=694522]

This happens unless you go to Tools > Options > Messages > tick 'Show contact says: before every message'


RE: Changing dice roller script to emote. by pqee on 07-17-2006 at 12:38 PM

Thanks for the responses.  The end result was a user problem. :)

Chris4 what you said was correct and that was screwing me up.  Seeing 'Pqee rolls a die' made me think all of them would show up that way.  On the receiving end it was always showing up as both of you mentioned:  '> rolls a die.'

Thanks for clarifying it.