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:
parent
c59bd05c93
commit
5af7c2e773
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user