chating

ac19189
15 Nov 2004, 01:56
One last question for the day how would i make it so when ever soemthing is said it says to everyone in that room like hi <enter key>
and everyone see's that i said hi I dont like typing say <msg> lol :roll: lazy i am

I think Im Dead
15 Nov 2004, 03:16
command <#text[userid]#> for each object in <#quest.currentroom[userid]#> if property <#quest.thing#; netplayer> then msg <$name(%userid%)$: #text[userid]#>

ac19189
15 Nov 2004, 06:51
:shock: blinks :shock: yup I understand :P I hope I get it to work lol thanks you seem to answer all my questions :lol:

ac19189
15 Nov 2004, 16:24
Hmm im not sure how this would lay out in the coding its been some time


command <#text[userid]#> {
<#quest.currentroom[userid]#>
<#quest.thing#; netplayer>
<$name(%userid%)$: #text[userid]#>
}

????

Alex
15 Nov 2004, 18:56
What "I Think I'm Dead" wrote should all be on one line.

ac19189
15 Nov 2004, 18:59
I tryed that it gives me a error :P

I think Im Dead
15 Nov 2004, 23:41
This is just the command to do precisely what you said, make everything type messaged to every other player in the room like a chat room. This one command will basically make a Questnet Chat room that you could run for an indefinite amount of time.


command <#input[userid]#> {
for each object in <#quest.currentroom[userid]#> if property <#quest.thing#; netplayer> then {
msgto <#quest.thing#; $name(%userid%)$: #input[userid]#|n>
}
}

ac19189
16 Nov 2004, 04:17
Thank you o master coder :D Im glad most of you are willing to help :D

paul_one
16 Nov 2004, 07:57
HAHAHHA
We'l never hear the end of that one - well, at least I won't.