Author Topic: User variables  (Read 966 times)

Tags:
  • All members
  • Posts: 65
  • Karma: +0/-0
  • Gender: Male
User variables
« on: Mon, 19 March, 2012, 10:47 »
Hi guys

How do I get a variable to keep track of max profit reached so far, I see top right of the software has a button to display user vars but cant seem to get anything into it?

Currently I already have a set user variable within the trigger but the value doesn't appear in that little window ever.

EDIT

Oops, found it, but I want it to store the max profit reached not just display the total profit/loss as I am trying out a few progressions and would like to keep a bet size IF current bank is less than peak reached.

  • Tim Vetrov
  • Administrator
  • Posts: 3900
  • Karma: +151/-0
  • Gender: Male
*
Re: User variables
« Reply #1 on: Mon, 19 March, 2012, 11:27 »
Create a user variable called say MaxProfit and every game update it:
Value: IF(test_funds>MaxProfit, test_funds, MaxProfit)
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду раз помочь с понедельника по пятницу, 08:00-18:00 GMT