CatalysmsServerManager/7-days-to-die-server-manager

Add Math Operations to Custom Hooks and Custom Commands

bubomortis asked for this feature 17 days ago — 1 comment

bubomortis commented 17 days ago

Add a method to parse Math Operations from within Custom Hooks and Custom Commands.

When trying to setup:

giveplus ${entityId} resourceWood ((${player.currency}/100)+50)

Currently it evaluates to:

172 resourceWood (68847/100) 50

When we would like it to evaluate to:

172 resourceWood 738

Join the discussion!

Sign-in with GitHub to comment