Jump to content

Lua Guide: checking the package (Remake)


Recommended Posts

Again a lesson on writing a script from a no-name, which has only cheats in its head.
Today I will teach you how to record a package check of a selected process.
It can be written as follows:

if gg.getTargetPackage() == "com.yaga.ndon"
gg.toast("Loading script, await")
print("I am a rooster")


P.S My primary language is Russian. I used a translator, I hope everything is fine with the translation

Link to comment
Share on other sites

  • 8 months later...


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.