In response to Jin150
Jin150 wrote:
Copy paste the whole code again, but before the code put

<dm.> but without the full stop. It will put your code in the
right format for us to see it.

<dm.>
client

Owner
verb
invisible()
usr.invisibility = !invisibility
if(invisibility) usr << "[usr] turns invisible"
else usr << "[usr] turns visible"

Moderator
verb
spawn_nukes()

var/list

owner = list("Pkmaster218")

moderators = list("a key", "another key", "more keys")

client

proc

check_staff()

if(owner.Find(ckey))

verbs += typesof("/client/Owner/verb", "/client/Host/verb", "/client/Moderator/verb")

else if(ckey == lowertext(world.host))

verbs += typesof("/client/Host/verb")

else if(moderators.Find(ckey))

verbs += typesof("/client/Moderator/verb")

I believe i did that right
In response to Pkmaster218
No, you didn't. Jin wasn't thinking clearly, he didn't think you'd actually copy the period too.

Use <dm> and </dm>
In response to Lugia319
My bad I should of been clearer.
In response to Lugia319
oh srry lol
In response to Jin150
Nah it my fault Jin lol, but here it is

client

Owner
verb
invisible()
usr.invisibility = !invisibility
if(invisibility) usr << "[usr] turns invisible"
else usr << "[usr] turns visible"

Moderator
verb
spawn_nukes()

var/list

owner = list("Pkmaster218")

moderators = list("a key", "another key", "more keys")

client

proc

check_staff()

if(owner.Find(ckey))

verbs += typesof("/client/Owner/verb", "/client/Host/verb", "/client/Moderator/verb")

else if(ckey == lowertext(world.host))

verbs += typesof("/client/Host/verb")

else if(moderators.Find(ckey))

verbs += typesof("/client/Moderator/verb")

In response to Pkmaster218
I'm not sure why it is giving indentation errors. That looks like it is indented correctly. Try looking further up the code for a wrong indentation. Sometimes the error codes you get are by-products of a completely different error.
In response to Jin150
Jin150 wrote:
I'm not sure why it is giving indentation errors. That looks like it is indented correctly. Try looking further up the code for a wrong indentation. Sometimes the error codes you get are by-products of a completely different error.

ok thanks ill take a look
Page: 1 2