diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-10-11 19:02:11 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-10-11 19:02:20 -0400 |
commit | 6662b6f305976881c3e675241c41be7731b65aa5 (patch) | |
tree | a8ecaa074cf67cb929f4de6ed62ef7c4b49c46d1 /npc/functions/main.txt | |
parent | 03049799efdc103fdd74e77161ed6a907acb7dde (diff) | |
download | serverdata-s20171023.tar.gz serverdata-s20171023.tar.bz2 serverdata-s20171023.tar.xz serverdata-s20171023.zip |
what's up with this crazy syntax?s20171023
I blame Reid
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 5f8c7aea..243ae383 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -142,7 +142,7 @@ function script npcdebug { } function script askyesno { - return select (menuaction(l("Yes")), + return select(menuaction(l("Yes")), menuaction(l("No"))); } @@ -151,7 +151,7 @@ function script askyesno { // 1 Current value // 2 Next value function script compareandsetq { - if (getq (getarg(0)) == getarg(1)) + if (getq(getarg(0)) == getarg(1)) { setq getarg(0), getarg(2); return true; |