icon = 'Taraval Icons.dmi'
icon_state = "Player"
if(M.client in view(10))
world << "Hello world!"
This has me pretty well stumped. What I intended for this code to do is output "Hello world!" whenever a player is in view(10), but I'm having issues with it outputting "Hello world!".
This particular code doesn't output anything at all even when you are in view, but I have messed around with it and the only results I have been able to get is it constantly spitting out "Hello world!", or nothing at all.
View is a pretty common proc I see used in tutorials and games, so I haven't a clue what I'm doing wrong here.