diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-02-07 17:29:34 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-02-07 17:29:34 +0800 |
| commit | c241ea241e8e9c152f6eb14f163b2ae39749f7bf (patch) | |
| tree | 2fd05ca6866ea60ca778fb6ff31c7ec429e138c4 /spec/inputs/plus.moon | |
| parent | 2e50c15bfe67d4709880a0377d37fca191be2f3e (diff) | |
| download | yuescript-c241ea241e8e9c152f6eb14f163b2ae39749f7bf.tar.gz yuescript-c241ea241e8e9c152f6eb14f163b2ae39749f7bf.tar.bz2 yuescript-c241ea241e8e9c152f6eb14f163b2ae39749f7bf.zip | |
releasing moonplus as a lib.
Diffstat (limited to 'spec/inputs/plus.moon')
| -rw-r--r-- | spec/inputs/plus.moon | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/inputs/plus.moon b/spec/inputs/plus.moon index 8a91c93..f455845 100644 --- a/spec/inputs/plus.moon +++ b/spec/inputs/plus.moon | |||
| @@ -11,5 +11,9 @@ if fcolor = message\match "<%w*>" then message = message\gsub "<%->", fcolor | |||
| 11 | 11 | ||
| 12 | message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>" | 12 | message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>" |
| 13 | 13 | ||
| 14 | func val if val = getvalue! | 14 | valA = func! if func = getfunc! |
| 15 | |||
| 16 | valB = do | ||
| 17 | func = getfunc! | ||
| 18 | func?! | ||
| 15 | 19 | ||
