VBScript Tutorials?

Posted by Xyborg on Fri 31 Oct 2003 03:18 AM — 5 posts, 21,993 views.

Canada #0
Ok. Since I'm too damn lazy to go through all these threads and whatnot to see if such a thread as been made, I'm simply making a new one. Isn't that wierd?

Anyways. I was just wondering if anyone has ever posted any guides or tutorials on VBScript for other n00bs, like myself, to browse and learn from.

If there has been, which I hope there has been, could you possible post a link to the thread/website of these godly tutorials that you know of?

Thanks a whole bunch.
USA #1
Unfortunetly most of not all tutorials on VBScipt would be nearly worthless. They all assume that VBScript is running in a browser environment where about 50% of the stuff you need to do in Mushclient is either unneeded or handled by some built in gadget of the browser. The situation for forums and tutorials in Visual Basic is the exact opposite. It assumes you don't have 'any' special gatgets to start with and that most of them will be added using referencing and automatic stuff. So if you add an object, then type Myobject. it gives you a nice list of things you can do with it. You rarely if ever see CreateObject used to do anything, but in VBScript, that is the only way you can use databased or any other similar gadget.

Mushclient lives in a strange world in between these two and doesn't play well with either 'normal' method of using the language. You are probably better off with VB tutorials though, since they don't assume that some other thing (the browser) is going to do all the work for you.
Canada #2
That's what I mean. Tutorials and guides as to how you can use VBScript through MUSHClient. I could care less about the way the browser utilizes the funtions of VBScript since I barely have any use for it that way. But I want to utilize all the godly power that is MUSHClient.

Thanks again or something ^_^
USA #3
Yeah. I get what you mean. The fact is that there are no such tutorial site yet. The client is after all quite new and thus most people are too busy figuring out what can be done with it, then are writing up pages about what they discovered. There has been a few people talking about doing it, but no known sites that provide such a thing yet.
Australia Forum Administrator #4
Have you read this page:

http://www.gammon.com.au/mushclient/scripting.htm

This is an introduction to scripting I wrote quite a while back, so it is a bit out-of-date.

Also, try looking at the scripts in the plugins, and the exampscript files that ship with MUSHclient. Finally, look through the scripting sections of this forum. You will find quite a few threads that:

* define a problem
* show a script to solve it
* have minor problems in the script
* fix those problems

This is a pretty good way of seeing the thought processes that go into script writing.