Hey guys, I need help on another script. I'm trying to make my buffbot into a clanbot as well.
So, that means I need it to do the ranks automatically. Currently, I got some stuff down (the script attached), such as detecting on which page of the roster is the clannie who needs his rank changed and printing it in Mafia's CLI.
The thing is, currently it is dependent on a python tool someone else in the clan developed, which prints the ranks that need to be done as an ASH map, like this:
I was writing the script and got stuck when it started involving too much PHP, which I know nothing about.
What I want to know is:
1) How to make the script change the ranks
2) How to automate the map creation. (Would it be possible to make the scrip call the python tool automatically?)
View attachment RankTest.ash
So, that means I need it to do the ranks automatically. Currently, I got some stuff down (the script attached), such as detecting on which page of the roster is the clannie who needs his rank changed and printing it in Mafia's CLI.
The thing is, currently it is dependent on a python tool someone else in the clan developed, which prints the ranks that need to be done as an ASH map, like this:
Code:
[line number] [clannie name] [current rank] [target rank]
I was writing the script and got stuck when it started involving too much PHP, which I know nothing about.
What I want to know is:
1) How to make the script change the ranks
2) How to automate the map creation. (Would it be possible to make the scrip call the python tool automatically?)
View attachment RankTest.ash