Author Topic: Chatmessage to an id /getid  (Read 1483 times)

How to send a Chatmessage to an id what we got from /getid?
Or to a player that we got from a ContainerRaycast

I want to send %target a message. %target is firstword(%raycast)

messageclient is not working
« Last Edit: August 13, 2014, 10:14:29 AM by Benci »

findClientByBL_ID("target's BL_ID") Oh, thought you meant the user's BL_ID. Sorry for the confusion.
« Last Edit: August 13, 2014, 02:18:01 PM by dargereldren »

Chatmessage to an id like 36423 So, an object id. Or findclientbyid or somethinglikethat. How?
Please clarify what you are trying to ask.
Also this board is for help, we aren't going to spoon-feed answers to you.
You could look up what you are trying to figure out, from what I get you are trying to figure out how to fire a raycast.

Edit: I should also add that the name is extremely ambiguous.
            You should change it.
« Last Edit: August 13, 2014, 09:49:20 AM by Pah1023 »

Please clarify what you are trying to ask.
Also this board is for help, we aren't going to spoon-feed answers to you.
You could look up what you are trying to figure out, from what I get you are trying to figure out how to fire a raycast.

Edit: I should also add that the name is extremely ambiguous.
            You should change it.

Edited name, message.

Would be better in a situation like this to post a snippet of the code where you are getting the error, or where the code isn't working properly.
You might be using the wrong variables for messageClient.
It's messageClient(%client, '', %message);

Edit: Also, if you have problems, especially within the same day, just edit your topic to include the other problems.
You have five topics on the first page of coding help.
http://forum.blockland.us/index.php?topic=264759.0
http://forum.blockland.us/index.php?topic=264762.0
http://forum.blockland.us/index.php?topic=264753.0
http://forum.blockland.us/index.php?topic=264661.0
http://forum.blockland.us/index.php?topic=264673.0
« Last Edit: August 13, 2014, 10:38:08 AM by Pah1023 »

Would be better in a situation like this to post a snippet of the code where you are getting the error, or where the code isn't working properly.
You might be using the wrong variables for messageClient.
It's messageClient(%client, '', %message);

Edit: Also, if you have problems, especially within the same day, just edit your topic to include the other problems.
You have five topics on the first page of coding help.
http://forum.blockland.us/index.php?topic=264759.0
http://forum.blockland.us/index.php?topic=264762.0
http://forum.blockland.us/index.php?topic=264753.0
http://forum.blockland.us/index.php?topic=264661.0
http://forum.blockland.us/index.php?topic=264673.0

Thanks for helping me.  :cookieMonster: