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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  VBscript
. . -> [Subject]  World.Execute question

World.Execute question

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


Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Wed 16 Jun 2004 08:24 PM (UTC)
Message
I have a plugin that heals you. The alias to enable it is "Heal:Enable On"
I enter this and get this:
Heal:Enable On
Heal: Enabled plugin.

The second line is the output note.

However, if i do a //execute "heal:enable on", I get a scripting error:
Error number: -2146827286
Event: Execution of line 1 column 1
Description: Syntax error
Line in error:

Called by: Immediate execution

What's going on? I used it in a plugin too and got the same error. Am I missing something obvious?
By the way, does anyone know how to turn of the annoying script debugger?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #1 on Wed 16 Jun 2004 08:26 PM (UTC)
Message
Ah, damn I'm stupid. I tried with World.Execute and remembered that there was the VB Execute command. Ignore this thread.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Wed 16 Jun 2004 10:47 PM (UTC)
Message
What debugger?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #3 on Thu 17 Jun 2004 10:35 AM (UTC)
Message
Whenever there is a scripting error a stupid debugger pops up asking me if i want to debug using MS's visual studio or MS's script debugger... I don't know what I installed and enabled it...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Shadowfyr   USA  (1,786 posts)  [Biography] bio
Date Reply #4 on Thu 17 Jun 2004 06:49 PM (UTC)
Message
Any microsoft compiler you install will automatically install and enable it for you to debug your own applications. The problem is that Windows can't differenciate between something you wrote and have the source for or someone elses. You can't disable it, without screwing up the compiler.
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #5 on Thu 17 Jun 2004 07:06 PM (UTC)
Message
I'm pretty sure there's a registry option that specifies the debugger, or whether there is in fact a debugger to launch... I just have to find it...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #6 on Thu 17 Jun 2004 07:56 PM (UTC)
Message
For future reference, it was Visual InterDev. There is an option to disable scripting there.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Thu 17 Jun 2004 10:37 PM (UTC)
Message
Is that the same place to disable the stupid question I get on *every* help page for the VBscript documentation help file?

Every time I view something (eg. ubound) a dialog box pops up:


A Runtime Error has occurred. Do you wish to Debug?

Line: 56
Error: Object required

[Yes] [No]


I say "no" and I view the page which seems perfectly normal. If I could turn that off I would be very happy.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #8 on Fri 18 Jun 2004 01:24 AM (UTC)
Message
That's control panel->internet options->Advanced->disable script debugging.
Or at least i think so.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Fri 18 Jun 2004 01:55 AM (UTC)
Message

Right. With debugging *disabled*, disabled, mark you, I now see this larger dialog box:


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #10 on Fri 18 Jun 2004 12:38 PM (UTC)
Message
Well, at least it's not asking you if you want to debug :P I have no idea what to do with that... Stupid Microsoft errors...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Adman_9000   (1 post)  [Biography] bio
Date Reply #11 on Tue 13 Jul 2004 05:59 PM (UTC)
Message
Ive been having the same annoying problem for ages. I seem to have sorted it by checking 'disable script debugging' and unchecking 'display a notification about every script error' in the advanced internet options mentioned previously. So thanks for that Poromenos.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #12 on Wed 14 Jul 2004 12:34 AM (UTC)
Message
Well that didn't work for me, but this did:


  • In Control Panel -> Internet Options -> Advanced, uncheck "Disable Script Debugging"

  • In Visual Interdev -> Tools -> Options -> Debugger -> General, uncheck "Just-In-Time Debugger"


This seems a bit counter-intuitive to me, the first option unchecked implies you want script debugging, but the second one seems to be the one that does the trick.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


25,080 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]