Equation within my script?

Discuss any issues with Denizen-Bukkit scripts or functionality you may have while using it.
Post Reply
Cuppa_Cocoa
New
New
Posts: 3
Joined: December 14th, 2018, 9:06 pm

Equation within my script?

Post by Cuppa_Cocoa » January 28th, 2019, 4:57 pm

<snip>
Last edited by Cuppa_Cocoa on January 29th, 2019, 10:11 pm, edited 4 times in total.

n0nnie
New
New
Posts: 14
Joined: January 10th, 2018, 3:19 am
Location: München - Germany
Contact:

Re: Equation within my script?

Post by n0nnie » January 29th, 2019, 1:49 am

For equations I am using this Tag:
https://one.denizenscript.com/denizen/tags/math

But I only used + - / * ( ) till now.

Cuppa_Cocoa
New
New
Posts: 3
Joined: December 14th, 2018, 9:06 pm

Re: Equation within my script?

Post by Cuppa_Cocoa » January 29th, 2019, 8:06 am

<snip>
Last edited by Cuppa_Cocoa on January 29th, 2019, 10:11 pm, edited 1 time in total.

User avatar
suspic
Regular
Regular
Posts: 4
Joined: October 3rd, 2017, 6:14 pm

Re: Equation within my script?

Post by suspic » January 29th, 2019, 8:58 pm

We have a tag for natural logarithms, as well as logarithms with a variable base.
<el@element.ln>
<el@element.log[<#.#>]>

To do powers, you need the power tag:
<el@element.power[<#.#>]>

For more instant help for this sort of stuff, I recommend you join us on Discord! The invite link is https://discord.gg/Q6pZGSR
Signed,
suspic

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests