Trigger

Please post any questions regarding the program here.

Moderator: 2020vision

Trigger

Postby mak » Sun Jan 16, 2011 5:15 pm

Gary or someone
I am using a trigger like this
BACK-T5-F10

if i use CLEAR trigger, to clear the bet ref if the Back bet get matched will the offset bet still fired?

and the clear trigger should work with an if statetment like this?
if(t5>0,"CLEAR",mytrigger...)?

thanks
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby GaryRussell » Mon Jan 17, 2011 8:29 am

The offset will still be fired.

The CLEAR trigger can be used in an in IF statement.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby mak » Mon Jan 17, 2011 8:36 am

thanks Gary
regarding the if statement should i place it like this

if(t5>0,"CLEAR",mytrigger...)?

or

if(mytrigger...,if(t5>0,"CLEAR")

or the order doesn't matter?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby GaryRussell » Mon Jan 17, 2011 10:07 am

The first option is better as it will ensure that CLEAR is used every time the bet ref is populated and every time it is not populated your trigger is evaluated. This may not be true of the second option depending on what "mytrigger" is.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 48 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.