3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02: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!