Author Topic: Basic "send" Script  (Read 1352 times)

IM trying to figure out how to create a simple script where you type something and then it displays text in the chat box. If anyone could give me a basic outline to this because I need this.


Do you want a SCRIPT?
As in with package and everything?

This belongs in coding help but oh well.

messageall(' ', %message);


Are you trying to replicate the chat system we already have?

There's this cool thing called "talk".

You press 'T' in game and then type stuff and press enter, it's pure pixie magic!

There's this cool thing called "talk".

You press 'Enter' in game and then type stuff and press enter, it's pure pixie magic!


Yup. I have no clue why I did that.

You know kind of like you type "/members" and it displays a list in the chat box

Dap, That makes you even more of a friend than you already are.

Yeah, you'd know. Good job, you had to act all macho and insult me, totally pointless-ly, and make an off-topic post. Did that make you feel better, insulting somebody you don't even know?

You know kind of like you type "/members" and it displays a list in the chat box
To one person or everyone?

messageAll("","Message here.");
messageClient(gameconnection,"","Message here.");
of course, change gameconnection to the client you're sending the message to. Something like %client or %this (in gameconnection functions), or %player.client, maybe even %obj.client.
Anything referring to a client.