| Author |
Message |
Topic: LUA Errors and triggers |
onnoj
Replies: 1
Views: 2164
|
Forum: CMUD General Discussion Posted: Mon Jul 25, 2011 10:23 am Subject: LUA Errors and triggers |
Hi,
For some reason errors thrown by LUA are not reported when the script was executed from a trigger.
I understand that it's not a good idea to pop up the error dialog (that would be annoying), b ... |
Topic: Creating triggers from LUA, missing settings? |
onnoj
Replies: 1
Views: 2082
|
Forum: CMUD General Discussion Posted: Mon Jul 18, 2011 8:30 am Subject: Creating triggers from LUA, missing settings? |
Hi all,
Is there any way to set the trigger type for triggers created using zs.maketrigger? I'd like to make a trigger with a LUA body (now I have to hack around with #LUA).
Additionally, there do ... |
Topic: Bug: #WAITFOR does not function in LUA (cMud 3.34) |
onnoj
Replies: 4
Views: 4404
|
Forum: CMUD General Discussion Posted: Sun Jul 17, 2011 4:23 pm Subject: Bug: #WAITFOR does not function in LUA (cMud 3.34) |
Ah, in that case the bug is when an alias or function is evoked from LUA; ie:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="testa" ... |
Topic: Bug: #WAITFOR does not function in LUA (cMud 3.34) |
onnoj
Replies: 4
Views: 4404
|
Forum: CMUD General Discussion Posted: Sun Jul 17, 2011 3:54 pm Subject: Bug: #WAITFOR does not function in LUA (cMud 3.34) |
The following code will immediately print 'Banana' when executed in the LUA console (or in any LUA script):
zs.cmd.waitfor(".*dragon.*"); print("Banana!");
Inte ... |
| |