Author Topic: RTB Chat Function  (Read 2838 times)

what thier function at chat gui? I know about /me blah here. I found this RTB script
Code: [Select]
  if(getSubStr(%text,0,1) $= "/")
   {
      if(firstWord(%text) $= "/me" || firstWord(%text) $= "/action")
      {
         %this.writeAction(RTB_ConnectClient.client_name,parseLinks(stripMLControlChars(restWords(%text))));
         RTBCC_Socket.sendMessage(%this.name,restWords(%text),true);
      }
   }
   else
   {
      %this.writeMessage("<color:FF6600>"@RTB_ConnectClient.client_name,parseLinks(stripMLControlChars(%text)));
      RTBCC_Socket.sendMessage(%this.name,%text);
   }
  
   %this.focus();
  
   %this.window.scroll.scrollToBottom();
}

I want my own create script for rtb chat. My idea use the Emotes like this :smile: - :) with the image png.
Code: [Select]
bitmap = "Add-Ons/system_rtbchat/images/icons/smile.png";
I use client script.

EDIT: How I can add emote to RTB Chat? And I plan make gui for smile emotes icons.
« Last Edit: July 08, 2012, 02:56:11 PM by Cubelands »

You can look through my answering machine mod on rtb.  Basically it is an onLine fnction for the rtb client tcp object.  Then you can try to do a strreplace to put in your bitmaps.

You can look through my answering machine mod on rtb.  Basically it is an onLine fnction for the rtb client tcp object.  Then you can try to do a strreplace to put in your bitmaps.
Okay! I will look at it. If I have any problem, I will ask you for a help.


Here, look through this, it has plenty:

http://forum.returntoblockland.com/dlm/viewFile.php?id=3835
not that one. It for only rtb chat, not play chat box.

not that one. It for only rtb chat, not play chat box.

But it still sends chat messages and private chat messages, etc, properly.

for the rtb client tcp object.  Then you can try to do a strreplace to put in your bitmaps.
rtb client tcp, Oh stuff. This kill me stuff. I am try read and figure out.

why does everyone hate tcp objects and network coding

it's fun

why does everyone hate tcp objects and network coding

it's fun
because it's a huge bee itch.

But it still sends chat messages and private chat messages, etc, properly.

That is from when rtb chat was based off an irc channel on centralchat.net and is no longer relevant.
Messaging is much simpler now actually.

That is from when rtb chat was based off an irc channel on centralchat.net and is no longer relevant.
Messaging is much simpler now actually.

No it isn't click the link. Irc 2 chat was the old one.


how so
I meant moreso for learning how to use it rather than when you already know how.

That is from when rtb chat was based off an irc channel on centralchat.net and is no longer relevant.
Messaging is much simpler now actually.

Oh, I did check it but the way the windows were set up made it look very much like the old irc thing.

Networking no longer packages TCPObject.
How I am going change it?