Main Search
Delta Corp Forum Index
 
 
FAQ Members Groups Profile Private Messages

Important Notice: We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024. If you wish to migrate to our paid hosting service, please contact [email protected].
[Script] Show chat text on your character

 
Post new topic   Reply to topic    Delta Corp Forum Index -> Releases
View previous topic :: View next topic  
Author Message
SirGelatina
Site Admin


Joined: 01 Mar 2008
Posts: 116
Location: Behind you

PostPosted: Sun Sep 14, 2008 6:10 pm    Post subject: [Script] Show chat text on your character Reply with quote

Code:
displayTime = 10

function onChat(msg, recipient, player)
   if player.Character ~= nil and player.Character:findFirstChild("Head") ~= nil then
      player.Character.Name = player.Name .. ": " .. msg

      wait(displayTime)

      player.Character.Name = player.Name
   end
end

function onEnter(player)
   player.Chatted:connect(function(msg, recipient) onChat(msg, recipient, player) end)
end

game.Players.ChildAdded:connect(onEnter)


Not sure if it works, because i would need to upload it to test. Test it for me, please.


Last edited by SirGelatina on Tue Dec 09, 2008 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
everett13
Newbie


Joined: 02 Dec 2008
Posts: 3
Location: oompaloompa land is what the christan priest told me

PostPosted: Tue Dec 02, 2008 11:43 pm    Post subject: Reply with quote

i tried puting this in players in edit mode and in just the workspace neither worked
Back to top
View user's profile Send private message
SirGelatina
Site Admin


Joined: 01 Mar 2008
Posts: 116
Location: Behind you

PostPosted: Tue Dec 09, 2008 1:41 pm    Post subject: Reply with quote

Fixed =P
Back to top
View user's profile Send private message Send e-mail MSN Messenger
LastNote678
Master Poster


Joined: 20 May 2008
Posts: 205
Location: In your head, eating your subconscious.

PostPosted: Mon Jan 19, 2009 12:41 am    Post subject: Reply with quote

This is one of the more awesome things that RO Developers refuse to put in the game.

sigh
_________________
Am I leaving, Am I going. Am I speeding, am I slowing. Just, out of space for now.

Reminder: We're all under the same sky.
Back to top
View user's profile Send private message
chess123mate
Beginner Poster


Joined: 06 Feb 2008
Posts: 40
Location: Canada

PostPosted: Wed Jan 28, 2009 8:14 pm    Post subject: Reply with quote

It would work well in a place where the chat was "removed", or grayed out with 10 or so player-messages so that you wouldn't be able to chat with those on the other side of the map Smile
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Delta Corp Forum Index -> Releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Back to Top              
Jenova Template © digital-delusion.com
Powered by phpBB © 2001, 2002 phpBB Group



For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!