Simple command doesn't work
My script is loaded but my command doesn't work.
Here is the code:
Code:
import sims4.commands @sims4.commands.Command('afirst', command_type=sims4.commands.CommandType.Live) def first_command(_connection=None): output = sims4.commands.Output(_connection) output('cool! My first message') Thanks! |
To send to the cheat window output, use CheatOutput:
Code:
import sims4.commands @sims4.commands.Command('afirst', command_type=sims4.commands.CommandType.Live) def first_command(_connection=None): output = sims4.commands.CheatOutput(_connection) output('cool! My first message') |
Quote: Originally posted by scumbumbo
Thanks :D |
All times are GMT +1. The time now is 5:24 AM. |
Powered by: vBulletin Version 3.0.14 · Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.