Mindee-BOT Community > General Discussions

Scripts function

(1/2) > >>

Svennebanan:
Hey mindee!
It’s seems to be very useful tool the script function. But is very difficult to experiment with the scrips function if the script is not explaining properly. I am not a programmer and is like to learn Chinese but without the translation in your language. So I wonder if you can maybe have a workshop for dummies?

=Mindee=:

--- Quote from: Svennebanan on January 25, 2020, 01:21:57 PM ---Hey mindee!
It’s seems to be very useful tool the script function. But is very difficult to experiment with the scrips function if the script is not explaining properly. I am not a programmer and is like to learn Chinese but without the translation in your language. So I wonder if you can maybe have a workshop for dummies?

--- End quote ---

There is a list of methods and callbacks.
Also I will release more scripts, so there will be examples to learn from.

Other stuff is programming related. I won't teach programming.  [psycho2]

By the way, bot scripting is using python language.

Svennebanan:
 [youdontsay2]I don’t require learning me programming, but I want to use what I have donated for. This thing is very useful if you can write the right script. There is a few here who can use this script function properly. But I am getting very frustrated when everything goes wrong. The explanation you give in script list is no useful for me because I don’t understand it. Please give better explanations and if there others who can explain and help have been great nice!

=Mindee=:

--- Quote from: Svennebanan on January 27, 2020, 10:48:10 PM --- [youdontsay2]I don’t require learning me programming, but I want to use what I have donated for. This thing is very useful if you can write the right script. There is a few here who can use this script function properly. But I am getting very frustrated when everything goes wrong. The explanation you give in script list is no useful for me because I don’t understand it. Please give better explanations and if there others who can explain and help have been great nice!

--- End quote ---

As I said, you need to know a bit of programming (python language) to understand bot scripting. Callbacks/events are called when something happens in bot and you need to use these callbacks to do stuff like call available methods/functions.

For example, callback "def onKilledEnemy(name, templateId):" is called in bot when char kills a monster.
If you put script.StatusMessage('Killed: ' + name) method after it, bot will always broadcast a monster name when you kill it.


--- Code: ---def onKilledEnemy(name, templateId):
    script.StatusMessage('Killed: ' + name)

--- End code ---

List of callbacks and functions is provided. You just need to use them. If you can't, then you need to wait until I or someone else will share ready to use scripts.

Better explanation = teaching programming.

Just next time don't buy something blindly if you don't know what it is.

Svennebanan:
Yea I am getting to learn python programming. I have little experience with programming so I think is not to be a problem. I just need to learn the language and learn to define events and methods. I think when more examples comes up and been shared I will be available to se how to use callbacks/events. But you have right I should be waiting but if you are not forced to make it work you will never learn you. You have always been delivered good products with excellent update so that’s why I bought directly.  [drevil2]

Navigation

[0] Message Index

[#] Next page

Go to full version