hackmud

hackmud

scripting help
hello, how to remove the {ok: true} and {ok:false} from appearing on return function?
< >
Showing 1-5 of 5 comments
dont return {ok:true} or {ok:false}

In example;
return "Hello"
Originally posted by Noman:
dont return {ok:true} or {ok:false}

In example;
return "Hello"
Im not writing anything about "ok" in the return{ } just the vars i want to return :/
I dont understand, show me some code my dude
Originally posted by Noman:
I dont understand, show me some code my dude
Its like
return{
Variable1,
Variable2
}

Question, #hs.ingame.scripts return the ok by themselves?

I mean like ad = #hs.chats.tell({to:'someone',msg:"something"

When i return ad i get also ok:true or ok:false
Feels like a debug mode thats always on
That's just the regular return of chats.tell
< >
Showing 1-5 of 5 comments
Per page: 1530 50