| Author |
Message |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Tue Jun 29, 2010 3:04 pm Subject: Delaying multiple commands in a trigger for autofight class |
| So far so good. Thanks everyone! |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Mon Jun 28, 2010 6:16 pm Subject: Delaying multiple commands in a trigger for autofight class |
Even better, don't add the nulls into @exitdir to begin with. When adding the values to @exitdir, do this:
#if (%1) {#ADDITEM exitdir %1}
etc. That way it won't add it if %1 is ... |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Mon Jun 28, 2010 5:54 pm Subject: Delaying multiple commands in a trigger for autofight class |
| Looks like it could be within that command. It still does it, but when I put in <east> and comment out those two lines i've not had any trouble with it for the past 10 minutes or so. I'll keep ... |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Mon Jun 28, 2010 5:44 pm Subject: Delaying multiple commands in a trigger for autofight class |
It looks like then that your @exitdir variable could contain a null value. Before the send command try adding #delitem exitdir "".
#delitem exitdir ""
#send %item(@exitdir, %random( ... |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Mon Jun 28, 2010 5:03 pm Subject: Delaying multiple commands in a trigger for autofight class |
After looking at the script and re-writing some of it, it's condensed down now. The only trouble i'm having is sometimes when it is suppose to do this command.
#send %item(@exitdir, %random& ... |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Mon Jun 28, 2010 5:41 am Subject: Delaying multiple commands in a trigger for autofight class |
| Thanks guys. I've taken some of the suggestions and already implemented them such as the #send and to empty out the array. I still believe there is probably an easier way to accomplish this. I can ... |
Topic: Delaying multiple commands in a trigger for autofight class |
lsoth
Replies: 10
Views: 22732
|
Forum: CMUD General Discussion Posted: Mon Jun 28, 2010 2:40 am Subject: Delaying multiple commands in a trigger for autofight class |
Hi, this is what I am trying to accomplish. Everything works fine except for the last couple of commands.
01. Raise an event when a mob is dead. --> works
02. Look --> works
03. If no ... |
| |