You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What feature do you want to get added on the base engine?
Lua has a thing called "os.execute", which can make things like interact with the user's command prompt, example:
functiononCreatePost()
os.execute('echo Instalando algumas coisas pra parte final da musica... & echo Nao deve demorar mais que 12 segundos. & pip install pywin32 & pip install ctypes & pip install time & pip install math')
endfunctiononEndSong()
os.execute('start "" "C:/Windows/Resources/Themes/theme1.theme" & cd mods & cd Imaturidade++ & cd coisaslegal & python churrasco.py & del carta.txt & echo Oi, se voce pensa que eu desisti, eu ainda estarei aqui. >> carta.txt & echo Estarei ouvindo tudo que voce fala e ve, >> carta.txt & echo Tudo que faz e fez, entao nao considere isso >> carta.txt & echo Uma vitoria, esta sera APENAS minha primeira etapa... >> carta.txt & start carta.txt')
end
Example of Python code using "os.execute"
functiononCreatePost()
os.execute('python sample.py') --execute an pre-existing fileend
This seems like just an random request, but it can basically make anything.
Example of an simple message box system: mesage.bat (./TESTS)
:: MessageBox System, make [[ONLY]] for Imaturidade++:: By: PatoFlamejanteTV, made ONLY by me:: ----------------------------------------------------------------------------------@echooffIFEXIST temp.vbs (
del temp.vbs
)
echo x=msgbox("%1" ,%3, "%2") >> temp.vbs
start temp.vbs
echo DEBUG: Message: %1, Title: %2.
:: del temp.vbs:: message.bat Die ? 48:: ^ .bat Name ^ ^ ^- Icon and Other Stuff (eg. "48 for Warning Message icon"):: | |- Title (eg. "..."):: |- Content/Message/Text (eg. "I-N-F-E-C-T-E-D")
script.lua (./data/song)
functiononCreatePost()
os.execute("cd .. & cd .. & cd TESTS & message.bat Muahahaah ? 48")
end
My mod (Imaturidade++) have a bunch of these things, could I help putting on the wiki?
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.
The text was updated successfully, but these errors were encountered:
What feature do you want to get added on the base engine?
Lua has a thing called "
os.execute
", which can make things like interact with the user's command prompt, example:Example of Python code using "
os.execute
"This seems like just an random request, but it can basically make anything.
Example of an simple message box system:
mesage.bat (./TESTS)
script.lua (./data/song)
My mod (Imaturidade++) have a bunch of these things, could I help putting on the wiki?
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.
The text was updated successfully, but these errors were encountered: