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
1 changed files with 3 additions and 0 deletions

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!