Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Multiple triggers?

Multiple triggers?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Gutlan   (4 posts)  Bio
Date Fri 26 Dec 2008 08:13 PM (UTC)
Message
Trigger:

<triggers>
<trigger
custom_colour="7"
enabled="y"
match="You mess up while forging a heavy gold chain."
name="fail_trigger"
script="Onfail"
sequence="100"
>
</trigger>
</triggers>

Vbscript:

sub Onfail (tname, line, wildcards)
world.DoAfter 5, "forge heavy gold chain carefully"
end sub

That is currently the only trigger i'm running right now. I was wondering how i can make it put chain into pack;forge heavy gold chain after 6 seconds of receiving "You are successful at forging a heavy gold chain."
Top

Posted by ErockMahan   (81 posts)  Bio
Date Reply #1 on Thu 09 Apr 2009 04:12 PM (UTC)
Message
If I understand what you're asking, you want another trigger:

<triggers>
<trigger
enabled="y"
keep_evaluating="y"
match="You are successful at forging a heavy gold chain."
send_to="12"
sequence="100"
>
<send>world.doafter 6,"put chain into pack"
world.doafter 6.2,"forge heavy gold chain"</send>
</trigger>
</triggers>
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,898 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.