From 9c35e39a707c01cc93c5a9cb69358ea988a5344e Mon Sep 17 00:00:00 2001 From: Loup <90267658+Loup-Garou911XD@users.noreply.github.com> Date: Sat, 5 Nov 2022 16:40:42 +0530 Subject: [PATCH] Fixed Print and cprint function --- plugins/utilities/mood_light.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/utilities/mood_light.py b/plugins/utilities/mood_light.py index 91eb528..f1a8304 100644 --- a/plugins/utilities/mood_light.py +++ b/plugins/utilities/mood_light.py @@ -17,12 +17,18 @@ type ml in chat or use plugin manager to open settings""" def Print(*args): - out = " ".join(str(args)) + out="" + for arg in args: + a=str(arg) + out += a ba.screenmessage(out) def cprint(*args): - out = "\n".join(str(args)) + out="" + for arg in args: + a=str(arg) + out += a _ba.chatmessage(out)