Mathbot Discord

broken image


MCPK-bot is a Discord Bot aiming to replace MathBot for movement calculations. Indeed, it was getting tiresome to redefine functions all the time, and the syntax is not very convenient to use. MathBot is still very useful as a general-purpose calculation tool.

Discord Translator The most powerful Discord translation bot. Breaking the language barrier for thousands of Discord users through powerful translation commands, automatic translation of users and channels, customizable and easy management system. Supports over 100 languages and available in over 10 locales. MathBot - Discord Bot that will replace your TI calculator and even do more! We don't have this link yet, you can add it to this page by enter the link below. Discord only allows at most 20 reactions per message. Command to generate a digital whiteboard. Translate documentation to French. Options to get a more minimal footer to the =wolf command. Prevent caching of impure functions. Exact-precision decimals (import decimals or something) Function introspection and manipulation (=calc).

Advantages over using Mathbot:

  • Richer and more descriptive outputs
  • The functions are built-in: no need to redefine them manually.
  • The bot uses float math instead of fractions, so the simulation is more accurate.
  • For simulating movement:
    • X and Z movement are both considered, and momentum threshold is taken into account.
    • Actions are read from left to right, which is way easier to read and write.
    • All actions take direction as an optional argument.


Distance

%distance [Z]

Discord

Returns the real distance of a X by Z jump (distances in blocks, Z is optional)

MathBot - GitHub Pages

The formula is simply max(0,X−0.6)2+max(0,Z−0.6)2{displaystyle sqrt{max(0,X-0.6)^2 + max(0,Z-0.6)^2}}

Examples:

  • 4b jump: %distance 4
  • 3x3 jump: %distance 3 3


NASA.gov brings you the latest images, videos and news from America's space agency. Get the latest updates on NASA missions, watch NASA TV live, and learn about our quest to reveal the unknown and benefit all humankind. Amateur Radio on the International Space Station is a program that lets students experience the excitement of Amateur Radio by talking directly with crew members of the International Space Station. ARISS appreciates our partners and sponsors. International space station crew 2020.

Duration

%duration [ceilingHeight]

Returns the duration of a jump with the given height (heights in blocks, ceilingHeight is optional)

Examples:

  • -1.5b jump: %duration -1.5
  • 3bc +1 jump: %duration 1 3



Height

Add
Mathbot

Returns the real distance of a X by Z jump (distances in blocks, Z is optional)

The formula is simply max(0,X−0.6)2+max(0,Z−0.6)2{displaystyle sqrt{max(0,X-0.6)^2 + max(0,Z-0.6)^2}}

Examples:

  • 4b jump: %distance 4
  • 3x3 jump: %distance 3 3


NASA.gov brings you the latest images, videos and news from America's space agency. Get the latest updates on NASA missions, watch NASA TV live, and learn about our quest to reveal the unknown and benefit all humankind. Amateur Radio on the International Space Station is a program that lets students experience the excitement of Amateur Radio by talking directly with crew members of the International Space Station. ARISS appreciates our partners and sponsors. International space station crew 2020.

Duration

%duration [ceilingHeight]

Returns the duration of a jump with the given height (heights in blocks, ceilingHeight is optional)

Examples:

  • -1.5b jump: %duration -1.5
  • 3bc +1 jump: %duration 1 3



Height

%height [ceilingHeight]

Returns the jump height of the player after n ticks (ceilingHeight is optional)

Examples:

  • 12t jump: %height 12
  • 2bc 9t jump: %height 9 2


Blip

%blip [initialHeight][blipHeight] [lastJumpTicks]

Returns the height of the player after chaining consecutive blips (Y=0 is the bottom surface by convention).

  • is the number of chained blips performed
  • [initialHeight] is the player's initial height before the first jump (default: 0.0)
  • [BlipHeight] is the height of the blip's top surface (e.g. 0.0625 for carpet, 0.1875 for trapdoor..)
  • Unless specified with [lastJumpTicks], returns the peak of the jump by default (6 ticks).

Examples:

  • starting from Y=200: %blip 4
  • 17 chained blips on lilypad: %blip_top 17 0.015625

Installer Mathbot Discord


Simulate

Discord Equation Bot

%simulate (or simply %)

Reads the given actions from left to right, and simulates the resulting movement.

Actions:

Actions take two arguments:

  • Ticks : the duration of the action, in ticks
  • Direction (optional) : the direction (not facing) of the action, in degrees
ActionDescription
stop, stop_airNo input
sneak, sneak_airSneak
sneak45, sneak45_airSneak with 45° strafe
walk, walk_airWalk
walk45, walk45_airWalk with 45° strafe
sprint, sprint_airSprint
sprint45, sprint45_airSprint with 45° strafe
stopjumpJump without moving
walkjumpJump without sprinting
walkjump45Jump without sprinting, 45° strafe throughout the jump
Lwalkjump

Rwalkjump

Jump without sprinting, strafe Left or Right on the first tick.
sprintjumpSprintjump
sprintjump45Sprintjump forward, start 45° strafe after the first tick
Lsprintjump

Rsprintjump

Strafe Left or Right on the first tick of a sprintjump.

Example: used for rex bwmm

Lsprintjump45

Rsprintjump45

Strafe Left or Right throughout a sprintjump.

Example: used for 1bm 5-1

Ios 15. Add 'max_' in front to get the maximum momentum with that action (repeats the action 20 times)

Special Tokens:

  • Momentum, MM, and | sets the previous actions as momentum (resets the position minus the last tick)
  • Blocks and b convert the output landing distance to blocks (± 0.6 to X and Z if nonzero)
  • Meters, and m convert the output landing distance to meters (same values as default)
  • Position, pos, and p convert the output to a relative position (used when you're not calculating jump distance)


Usage:

The parser reads the actions and tokens from left to right. Actions and tokens should be separated by spaces.

The Momentum token can be used anywhere between two actions.

The Blocks, Meters, and Position tokens are to be used at the end of the sequence (mutually exclusive).


Examples:

  • hh timing: % sprint | sprintjump(12)
  • rex bwmm: % walkjump(12,180) walk(1,180) Lsprintjump(12) | sprintjump(12)
  • 1bm 5-1: % walkjump(12,170) walk(1,170) Lsprintjump45(1,-10) sprint45_air(11) | sprintjump45(14) b
Retrieved from 'https://www.mcpk.wiki/w/index.php?title=Bot&oldid=983'




broken image