Page 3 of 3

Re: Plugin Ideas: India Hits

Posted: 19 Apr 2023, 01:13
by aeeaaqw4
Yes and for the moment this will be my last message because I will be busy with some things

Re: Plugin Ideas: India Hits

Posted: 19 Apr 2023, 01:15
by aeeaaqw4
As you want, a pleasure to be in this talk

Re: Plugin Ideas: India Hits

Posted: 19 Apr 2023, 01:17
by aeeaaqw4
.

Re: Plugin Ideas: India Hits

Posted: 19 Apr 2023, 01:19
by aeeaaqw4
.

Re: Plugin Ideas: India Hits

Posted: 22 Apr 2023, 08:03
by aeeaaqw4
Yes well this will be my last message because I will be busy this month thanks for this chat

Re: Plugin Ideas: India Hits

Posted: 22 Jun 2023, 00:17
by Minako-Kun
I'd make the plugins but I'm too lazy and Infact I do not know how to make json and like that

Re: Plugin Ideas: India Hits

Posted: 11 Jul 2023, 19:44
by Best4444

Code: Select all

(file name).json:
```json
[
    {
        "id":"$scriptingtest00",
        "type":"script",
        "script":"script.lua"
    }
]```
or
```json
[
    {
        "id":"$scriptingtest00",
        "type":"script",
        "script":"#LuaWrapper",
        "meta":{
            "luawrapper":{
                "script":"script.lua",
                "dev":true //set this to true for real time lua editing
            }
        }
    }
]```
script.lua:
```lua
function script:init()
    Debug.toast('Hello World!')
end

function script:enterCity()
    GUI.createRenameDialog {
        title="Some title",
        text="Some text, you can also verify JSON syntax here",
        okText="OK",
        onOk=function(value)
            Debug.toast("You entered: "..value)
            local tbl=Runtime.fromJson(value)
            if tbl then
                Debug.toast("Valid JSON")
            else
                Debug.toast("JSON syntax error")
            end
        end
    }
end

local counter=0
function script:update()
    Drawing.setColor(0,255,0)   
    Drawing.drawText('This is frame '..counter,30,26)
    Drawing.setColor(255,255,255)
    counter=counter+1
end```

Re: Plugin Ideas: India Hits

Posted: 11 Jul 2023, 19:45
by Best4444
You can use my plugin I don't mind you can publish it I don't mind asweal