ID:293961
 
you see, I was trying to make it where the creator of my game gain powers that normal players don't get. but for some reason, my code isn't working, can anyone please help?
heres my code
-----------------------
mob
proc
creator()
if(usr == "blah")
usr.blah = blah
usr.blahblah = blah


thanks in advance :D

-enforcer9
Please do not take this as offence, but as advice.
When you try to program, you need to carefully read and think before taking an action.
Let me give you an example.
Instead of posting in the Developers forum, you posted at BYOND Help and even there in the very wrong subforum, with the description: 'Please post your ideas, suggestions, or issues about the BYOND Help Guild here.'

If you intend to create a game, the first step should be to start here, since this is going to provide you with material to learn the basics of programming (in BYOND).
Try to have a look at the DM guide (and reference), since these will enlighten you past any tutorial you're working on. But don't 'rush through'(browse), like with a comic.
Sometimes you will think that you already know something, when you do not yet know all of the functionality.
Or, you think that something is 'too basic/of no use' for you, but every advanced bit of code is actually built out of these basic (tiresome) parts.

If you still did not manage, your next step would be to use the forum search (of the right forum, in this case Developers), since it is likely that your problem has been discussed before already and there are various replies.

Whenever you are struggling, a developer should use the Developer forum to seek assistance from like-minded community members.

As in your special case, there are multiple solutions linked through the forum search. Try to find a good one (by Garthor, or Kaioken).