Jump to content

Exponents in config files?


MCWither_Storm

Recommended Posts

isnt't is `maxTemp != 2` or something like that.

Spoiler

@PART[somePart1]
{
    // Unindexed - edits the first
    @name = somePart2
    // Arithmetic - add 5 and multiply by 20. Unindexed so edits the first one.
    @numeric += 5
    @numeric *= 20
        @numeric != 2 //Squares the value of numeric
    // Regexp expression. Replaces any instance of "tw" with "mo", so would turn "twotwo" into "moomoo"
        // Note also the index.
    @multiVal,1 ^= :tw:mo:
}
 

https://github.com/sarbian/ModuleManager/wiki/Module-Manager-Syntax

Edited by zer0Kerbal
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...