少しだけ説明
import sims4.commands
@sims4.commands.Command('name',command_type=sims4.commands.CommandType.Live,console_type=sims4.commands.CommandType.Cheat)
def name(_connection=None):
output = sims4.commands.CheatOutput(_connection)
output('This is an testing scripts')
よく見るコマンド系のスクリプト
nameに_や、大文字、数字を使うと機能しなくなるよ
outputで、outputを取得?
して、outputでコンソールに吐き出すよ
あとは、defの中になんかか書こう