<commit_before>/* Profile plugin
 * by: jd 
 * modified by: panpawn
 */
var serverIp = '127.0.0.1';

 
function readMoney(userid, callback) {
	//if (!callback) return false;
	userid = toId(userid);
	try {
		bucks = Users.users.userid.money;
		//callback((rows[0] ? rows[0].bucks : 0));
	} catch (e) {};
};
 

exports.commands = {
	profile: function(target, room, user) {
		if (!target) target = user.name;
		if (toId(target).length > 19) return this.sendReply("Usernames may not be more than 19 characters long.");
		if (toId(target).length < 1) return this.sendReply(target + " is not a valid username.");
		if (!this.canBroadcast()) return;<commit_msg>Update profile-command.js<commit_after>/* Profile plugin
 * by: jd 
 * modified by: panpawn
 */
var serverIp = '127.0.0.1';

 
function readMoney(userid, callback) {
	//if (!callback) return false;
	userid = toId(userid);
	bucks = Users.users.userid.money;
	//callback((rows[0] ? rows[0].bucks : 0));
};
 

exports.commands = {
	profile: function(target, room, user) {
		if (!target) target = user.name;
		if (toId(target).length > 19) return this.sendReply("Usernames may not be more than 19 characters long.");
		if (toId(target).length < 1) return this.sendReply(target + " is not a valid username.");
		if (!this.canBroadcast()) return;
{'fraction_non_alphanumeric': 0.16460587326120557, 'fraction_numerical': 0.021638330757341576, 'mean_word_length': 4.01937984496124, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5807811', 'n_tokens_mistral': 478, 'n_tokens_neox': 436, 'n_words': 123}