Shoutbox

Wnd.MessageSend() - 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: Wnd.MessageSend() (/showthread.php?tid=63854)

Wnd.MessageSend() by Hengy on 07-23-2006 at 04:03 PM

code:
if (Message == "/whatever")
{
      Wnd.MessageSend("Whatever")
}

In this code, "/whatever" is sent as a message and "Whatever" is also sent as a message. But, in the code, "/whatever" is not:

code:
if (Message == "/whatever")
{
     return "whatever"
}

How can I modify the first code to not send "/whatever", like in the second code?
RE: Wnd.MessageSend() by foaly on 07-23-2006 at 04:05 PM

ehm something like this:

code:
if (Message == "/whatever")
{
      Wnd.MessageSend("Whatever");
      return "";
}


RE: Wnd.MessageSend() by Hengy on 07-23-2006 at 04:09 PM

lol... i don't know why I didn't think of that myself *-) Thanks!


RE: Wnd.MessageSend() by foaly on 07-23-2006 at 04:09 PM

no problem :)