Valhalla Legends Archive

Member Forums => Spht's Forum => Topic started by: PancakeAbuse on September 26, 2004, 03:00 AM

Title: Multiple Actions Per Trigger
Post by: PancakeAbuse on September 26, 2004, 03:00 AM
I was wondering if you could have multiple actions per trigger.  Ex:

having "&4&&&&/w PancakeAbuse %1: %3" but also allow latter actions that deal with whispers be dealt with as well.  Is there a way to do this?

It seems that if a trigger meets anyone of the trigger specifications in the script file, it does that action and then stops, can you make it keep going?

Edit: As well as numbers than use more than 1 digit using % for variables is not working.  %11 uses %1 instead of %11, %21 uses %2 instead of %21 etc.
Title: Re:Multiple Actions Per Trigger
Post by: Spht on September 26, 2004, 03:06 AM
Quote from: PancakeAbuse on September 26, 2004, 03:00 AM
I was wondering if you could have multiple actions per trigger.  Ex:

having "&4&&&&/w PancakeAbuse %1: %3" but also allow latter actions that deal with whispers be dealt with as well.  Is there a way to do this?

It seems that if a trigger meets anyone of the trigger specifications in the script file, it does that action and then stops, can you make it keep going?

QuoteIf you put a + at the start of the action field, then the bot will continue to look for more events to respond to.

I don't recall offhand if EternalChat supports that or not.  You can give it a try.
Title: Re:Multiple Actions Per Trigger
Post by: PancakeAbuse on September 26, 2004, 03:07 AM
I can't seem to figure that out, could you show an example of what the code would look like?

Now for my edit question =P.