| Author |
Message |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Sat Feb 19, 2005 3:59 am Subject: #If command |
| WOO... Finally it worked. But I'd still like to know the problem with what happened, because of other triggers I have, but also so I can code them in the future. Perhaps I'll just attempt to figure ou ... |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Sat Feb 19, 2005 3:08 am Subject: #If command |
I tried that code Darkhael and it's still not firing at all. I did an echo to see if it would fire, it didn't work. I did exactly what you put, no go. |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Sat Feb 19, 2005 12:43 am Subject: #If command |
Here is the trigger. The Mud displays the command after each attack:
hp ( 633/633 ) sp ( 629/629 ) mp ( 440/440 )
Here is the Code I use:
#TRIGGER {hp ~( (%d)/633~ ) ... |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2005 10:41 pm Subject: #If command |
| Alright, I attempted to use the %s wildcard and it still doesn't want to fire. So figuring it wasn't the spaces (I knew I had the correct amount in the first place) I tried something different. I took ... |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2005 10:14 pm Subject: #If command |
| If I use the %s wildcard, I'll have to go %1, %3, %5, because %2 and %4 will be assigned to the wild card variable %s right? |
Topic: can zmud send multiple commands in the 1 tcp/ip packet? |
littleron
Replies: 6
Views: 10767
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2005 10:10 pm Subject: can zmud send multiple commands in the 1 tcp/ip packet? |
| It actually seems as though ZMud sends it all in one packet. If the MUD is fast enough, I know I have triggers that just instantaneously pop three commands in well under a second. For example loot cor ... |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2005 9:53 pm Subject: #If command |
| I've added an echo command, and it just doesn't trigger. I've also tried to add the (%d) in front of a different trigger and it just doesn't want to fire. I'm not sure why though. |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2005 8:35 pm Subject: #If command |
| The #if statements stay in the trigger, but nothing happens it doesn't cast heal or regeneration. Any thoughts or ideas? |
Topic: #If command |
littleron
Replies: 18
Views: 26728
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2005 1:07 am Subject: #If command |
I continue to add the #If command after a trigger command so that it will execute certain variables. Perhaps I'm using it wrong, but here is the code.
#TRIGGER {hp ( (%d)/633 ) ... |
Topic: A simple combat bot. |
littleron
Replies: 54
Views: 214753
|
Forum: Finished MUD Scripts Posted: Tue Feb 08, 2005 8:29 pm Subject: A simple combat bot. |
| I attempted to use this bot and I assigned a #path, but when I attempted to slow walk on the Mud is just keeps aborting the slow walk. Anyone know the reason for that or how I could fix it so I could ... |
Topic: Zmud Script |
littleron
Replies: 6
Views: 11176
|
Forum: zMUD General Discussion Posted: Sat Feb 05, 2005 7:54 pm Subject: Zmud Script |
| I was reading over multiple tutorials, yet I did not find this. I was curious when Im scripting and I want my bot to move around while the combat is at zero, so I set a class {move}. How would I have ... |
| |