Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > TinyBrain | #1008904 - woodyOnRules - rules without PROCESS = NO (and other criteria)

JavaX fragment (include)

static L<WoodyRule> woodyOnRules(WoodyBot bot) {
  ret [WoodyRule r : values(bot.rules)
    | neq(r.properties.get("PROCESS"), "NO")
    && neq(r.properties.get("LOCAL"), "YES")
    && !cic(r.fullName, "#event.")
    /*&& toInt(r.properties.get("PRIORITY")) >= 0*/];
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1008904
Snippet name: woodyOnRules - rules without PROCESS = NO (and other criteria)
Eternal ID of this version: #1008904/11
Text MD5: 2b45e997007c44fb42faf6d76187b23b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-14 17:46:06
Source code size: 274 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 32 / 51
Version history: 10 change(s)
Referenced in: [show]