Fixed Print and cprint function

This commit is contained in:
Loup 2022-11-05 16:40:42 +05:30 committed by GitHub
parent 87f0e52dec
commit 9c35e39a70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)