mob
Login()
loc = location (/turf/start)
It says undefined proc.
I have all the indenting right
ID:1535582
![]() Apr 3 2014, 12:36 pm (Edited by moderator on Apr 3 2014, 1:07 pm)
(See the best response by LordAndrew.)
|
|
what am i doing wrong?:
mob It says undefined proc. I have all the indenting right |
Flying1ace wrote:
what am i doing wrong?: > mob It says undefined proc. Here is a simple fix for you, if you prefer location() over locate() I guess. proc |
Flying1ace is easier to use locate() proc:
mob |
Damn trolls, instead of removing a few letters, they go and write new code to fix the old code.
Well done, 5 points! |
Taitz wrote:
Damn trolls, instead of removing a few letters, they go and write new code to fix the old code. Haha funny. I'm just assuming that this guy will be using location() persistently and will be wondering why he keeps getting these errors. By the off chance that he makes this mistake, he has no worries at all. I do similar stuff with #define because at times I want my code to say mob/function/this() rather than mob/proc/this() just by using #define function proc |
The issue is that there is no procedure by the name of location(). I believe you're wanting locate() instead.