3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 03:49:29 +01:00

doc/Plugins/Plang: add if/else example

This commit is contained in:
Pragmatic Software 2020-07-26 22:54:01 -07:00
parent c59bd05c93
commit 5af7c2e773

View File

@ -85,3 +85,6 @@ Examples:
<pragma-> !plang userget('pragma-')['botowner']
<PBot> 1
<pragma-> !plang if userget('pragma-')['botowner'] then print('Greetings master!') else print('Hello mortal.')
<PBot> Greetings master!