[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Did something change?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Did something change?

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Lessthanluminous   (9 posts)  [Biography] bio
Date Thu 24 Jun 2010 09:14 PM (UTC)  quote  ]

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.
[Go to top] top

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

Posted by Twisol   USA  (2,230 posts)  [Biography] bio
Date Reply #2 on Thu 24 Jun 2010 09:44 PM (UTC)  quote  ]

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
[Go to top] top

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


1,046 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]