verb
say(msg as text)
set name = "Talk"
view() << "[name] says, [msg]"
for(var/obj/electronics/messagenet/O in oview())
for(var/obj/electronics/messagenet/M in world)
M.view() << "[name] says over the MessageNet, [msg]"
ID:149608
Mar 27 2002, 4:37 pm
|
|
Awkwardly this code snippet does not work
|
Mar 27 2002, 4:51 pm
|
|
Rewrite!
|
Exadv1 wrote:
Awkwardly this code snippet does not work > verb Not sure if it's the only thing, but your last line should have view(M), not M.view() |
In response to Skysaw
|
|
I am using Skysaw's traps and that line does not work correctly. It gives a warning.
mob |
In response to Exadv1
|
|
Exadv1 wrote:
I am using Skysaw's traps and that line does not work correctly. It gives a warning. Which line is not working? And how is the traps snippet related to your original post? I don't understand. As a side note, skysaw.traps was a library I released last July, after I had just picked up some BYOND coding. It has not been modified since, and may not work well with changes to BYOND since then. |