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 ➜ General ➜ Did something change?

Did something change?

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


Posted by Lessthanluminous   (9 posts)  Bio
Date Thu 24 Jun 2010 09:14 PM (UTC)

Amended on Thu 24 Jun 2010 09:22 PM (UTC) by Lessthanluminous

Message
While in the middle of massacring some NPCs, my triggers started acting silly.

In all my triggers, when I had: SetVariable ("something", "somethingelse") it stopped working when I had the parenthesese, but SetVariable "something", "somethingelse" works.
An example, sans parentheses (working version):

<triggers>
  <trigger
   custom_colour="17"
   enabled="y"
   expand_variables="y"
   group="Affliction"
   keep_evaluating="y"
   match="^The flames eat away at your skin\, causing you to writhe in agony\.$"
   name="Burning"
   regexp="y"
   send_to="12"
   sequence="100"
   other_text_colour="darkorange"
  >
  <send>SetVariable "burning", "1"</send>
  </trigger>
</triggers>


Also, I get this whenever anything happens, presumably due to another trigger affected by whatever my problem is:


Error number: -2146827286
Event:        Execution of line 4 column 9
Description:  Syntax error

Line in error: 

if "x" == "x" then
Called by:    Immediate execution


I want to know why all my triggers are suddenly silly, if I can ever go back to the way they were, and... anything else I could be told!

I would like to add that I just tried a copy of a trigger using a different world and it worked just fine with parentheses.
Top

Posted by Larkin   (278 posts)  Bio
Date Reply #1 on Thu 24 Jun 2010 09:37 PM (UTC)
Message
It looks like you switched your scripting language from Lua to VBScript, maybe.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #2 on Thu 24 Jun 2010 09:44 PM (UTC)

Amended on Thu 24 Jun 2010 09:45 PM (UTC) by Twisol

Message
Go to Game -> Configure -> Scripting and make sure the Language dropdown at the top is what you expect it to be. Probably Lua by what I'm seeing.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Lessthanluminous   (9 posts)  Bio
Date Reply #3 on Thu 24 Jun 2010 09:58 PM (UTC)
Message
Yay! Thanks for the help! That seems to have fixed it, even if I have no idea how that happened!
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.


17,642 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.