Code:
Mob
Verb
Say(msg as text)
World << [usr]: [msg] in oview()
But all the chat codes I have seen leaves out the oview(). So my question is this
If I funnel [usr]: [msg] to world, then the oview() wouldn't be needed?. Sorry for a silly question
Just trying to really learn the dm rather then remembering the codes.
Problem description:
is defined such that B is outputted to A.
When you see world << "[usr]: [msg]", A is world and B is the single string of text between the quotes (with the expressions inside the brackets replaced with their text equivalents).
If you want to send that string of text to oview() instead, so that only things nearby and visible to usr receive the output, simply use oview() instead of world.
There's no "chat codes" you could have seen that end with "in oview()" because that is nonsense, doesn't do what you think it does, and you should have never come up with it in the first place.