• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Sinusbot Client instance from event missing info

Sparks

New Member
I made a log of the event instance from the event clientMove and it's missing the groups of the client that triggered the event, help please, i don't know what to do :(

EDIT: script attached, i was just testing the events and logging the event info
 

Attachments

  • prisonTestScript.js
    697 bytes · Views: 11
Last edited:

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Please provide us your script, without we can't help you very much :p
 

Sparks

New Member
SOLVED! i don't know why but the bot can't log the array returned by getServerGroups(), but it's there!
 

Tuetchen

Diesmon Dominator
is awesome!
Contributor
Insider
if you want to log arrays and stuff like that use JSON.stringify (but this wont work often on sinusbot objects, as the values are usually only accessible as functions) or log the items separately - in javascript there is no real string representation of arrays of objects (in this case server groups)
 
Top