kenjie20 / ottdcoop-plugin Goto Github PK
View Code? Open in Web Editor NEWA supybot plugin for #openttdcoop. Contains useful math functions for #openttdcoop games, auto-repliers and a glossary of terms.
A supybot plugin for #openttdcoop. Contains useful math functions for #openttdcoop games, auto-repliers and a glossary of terms.
The config values that are written by the plugin, refuse to repopulate once the plugin is un/reloaded.
Probably to do with this;
{{{
63 for (name, value) in group.getValues(fullNames=False):
64 name = name.lower() # Just in case.
65 text = value()
66 url = value.url()
67 self.abbr[name] = [text, url, None]
}}}
which doesn't seem to load values.
regexp to also detect things like "when does next game start?" "how long does x last?" etc.
abuse.flood.*.punishment seems to be ignoring general hosts rather than user hostmasks then hosts.
There are two typos in websters @gap command:
When used without argument:
(gap []) -- Returns minimum and maximum signal gap sizes for 2,3 and 4 linesplits with . If is given it will return''' the the''' gap sizes for (+/-) 1
"the" is writen twice.
More important one.
When used with 1 argument (for example @gap 3) it says:
For Trainlength of 3: '''< 9''' needs 2, '''10 - 14''' needs 3, 15 - 19 needs 4.
There is no info about 9. Should be either <=9 or < 10 (of course if for gap 9 it is 2 tunnels, not 3)
same for other TLs
When a server announces
{{{
*** #<1> joined the game
}}}
it should trigger a response;
{{{
It appears that you () have joined twice, please ask someone to join you, rather than double joining.
If this is due to a time-out, you may disregard this.
}}}
Add the tunnels command with new math
{{{
Where g = max gap, tl = Trainlength and n = Number of splits
g = n(tl) + 2n - tl + 2
n = 2 : 2tl + 4 - tl + 2 = tl + 6 = g
n = 3 : 3tl + 6 - tl + 2 = 2tl + 8 = g
n = 4 : 4tl + 8 - tl + 2 = 3tl + 10 = g
}}}
Calling {{{@glossary }}} should produce the same as calling {{{@ottdcoop get }}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.