code_language.skript:
vb
on script load:
set {mongoAvised} to mongo server with connection string ""
set {mongoDatabase} to mongo database "database" of {mongoAvised}
set {mongoCollection} to mongo collection "collection" of {mongoAvised}
command /add:
trigger:
set {_doc} to a new mongo document
set mongo value "uuid" of {_doc} to player's uuid
set mongo value "messages" of {_doc} to 0
insert mongo document {_doc} into collection {mongoCollection}
broadcast "1"
also console seems to be a mess, just a bunch of text, but it doesent seem to be an error, just seems to be connecting i think
Posted by: _dialed from the skUnity Discord. View the thread on skUnity Discord here