static LS ai_tg_rulesFiredOnMessage(S msgID) { S quotedMsg = format3_formatArg(msgID); S pat = "Rule * fired on message " + quotedMsg; new Matches m; new LS rules; for (S s : mL("Telegram Rule Fires")) if (contains(s, quotedMsg) && matchStart(pat, s, m)) rules.add($1); ret rules; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017825 |
Snippet name: | ai_tg_rulesFiredOnMessage |
Eternal ID of this version: | #1017825/2 |
Text MD5: | f8789ff6b53ab7ae1d258bb781d920c3 |
Author: | stefan |
Category: | javax / telegram |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-15 14:30:54 |
Source code size: | 315 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 381 / 421 |
Version history: | 1 change(s) |
Referenced in: | [show references] |