okovalov / bbots

Set of Binary.com bots (scripts)
MIT License
0 stars 6 forks source link

how to input java script in binary bot xml file? #2

Open Jo-Hans opened 6 years ago

Jo-Hans commented 6 years ago

hi @okovalov, please help me.

is there a way to add java script (or any other script that won't be shown up on binary bot UI) to xml file? like, i want to set some "limit" that ppl can't just change it in binary bot ui. i also want to put "mark" on my bot such as "this bot were made by Jo-Hans in Nov 2017" notification.

i don't understand programming language, so if there is a way to do that, please show me how to do that with the sample bellow.

lets say i want the maximum input limit = 20, so if ppl change the "var_Input_limit" more than 20 (ex:30), the "var_Input_limit" will automatically change to 20. and "this bot were made by Jo-Hans in Nov 2017" notification will be executed right after the "var_Input_limit" set.

Jo-Hans commented 6 years ago

tes_bot_with_java_sample.zip