0 Members and 2 Guests are viewing this topic.
It is possible, just use @calc@ = Use operators to calculate mathematical equations. @calc@[op|num1|num2] , Available operations (+,-,*,/). E.g. @calc@[+|5|4].
Quote from: RepentGamingTV on April 18, 2016, 07:34:09 AMIt is possible, just use @calc@ = Use operators to calculate mathematical equations. @calc@[op|num1|num2] , Available operations (+,-,*,/). E.g. @calc@[+|5|4].What would this actually look like in the command?
@if@[@target@||+||!adddeath||@if@[@target@||-||!subdeath]]
@savefile@[Death\deathcount.txt,@calc@[+|@readfile@[Death\deathcount.txt]|1]]
@savefile@[Death\deathcount.txt,@calc@[-|@readfile@[Death\deathcount.txt]|1]]
You've died @readfile@[Death\deathcount.txt] times.