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 ➜ Scripting 101 needed for Script-Illiterate

Scripting 101 needed for Script-Illiterate

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


Pages: 1  2 3  

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #15 on Tue 27 Apr 2004 04:31 AM (UTC)

Amended on Tue 27 Apr 2004 04:35 AM (UTC) by Flannel

Message
Wikis, hmm, Well, yes, cross referencing, but basically, its just a whole subset of pages that can be edited by whomever (if theres no restrictions) or by certain people (have to log in type thing). It allows anyone to edit.

There is protection against someone coming in and deleting everything, which is the first response most people have.

So yes, it is a bit like the forum, however, instead of simply having one huge post, it would be split up into pages, where people can add directly into the page (rather than replying, and being out of context). I think it would be a little less daunting, its more like what most people know (that is, a bunch of pages with links, rather than a forum) and lends itself to piecewise consumption, and later reference.

Not that Im bagging on this forum or anything. I just think it might be more helpful. If we had some sort of walkthrough. Rather than getting a million posts about how to copy/paste triggers, or someone who doesnt understand how to use variables, or whatever. Or how the inbuilt script functions work with the scripting languages.

Edit:

Also covering some more things you brought up. Wikis do allow for bold, and other things like that. Depending on which one you get, theres different ways to do things.
And you can have people have to login to edit (there are wikis with user accounts, etc). For everyone else, itd just be a group of webpages.
And most wikis have a search feature.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Ked   Russia  (524 posts)  Bio
Date Reply #16 on Tue 27 Apr 2004 05:13 AM (UTC)
Message
Mmm, a wiki... That would be nice. Right now, when people ask me for basic help with Mushclient I go to the forum, search it and reply with links to whatever posts about general newbie tutorial-like stuff I find. A wiki could be used to keep a collection of howto's and tutorials, edited by whoever can and wants to, and it would be much easier to reference since most wikis are pretty well structured.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #17 on Tue 27 Apr 2004 07:10 AM (UTC)
Message
Yes, well I have been experimenting a bit with a PHP Wiki (called PHPWiki) and I see how it could be useful.

The forum tends to be linear, whereas a Wiki would let you (or anyone who wants to) to update and improve the documentation with explanations, hyperlinks to examples, and so on.

Good idea. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #18 on Tue 27 Apr 2004 07:27 AM (UTC)

Amended on Tue 27 Apr 2004 07:30 AM (UTC) by Flannel

Message
Nick, one thing to keep in mind, and you might have to edit something to add a "code" tag or whatnot, is that we will be posting preformatted stuff, and we dont want to have to worry about it eating quotes (or asterisks), and other important things.

So, might want to have some sort of code tag, like we do here.

Edit: I guess it already does, the pre tag, but does it ditch all the other parsing? Or are we going to end up with links in the middle of our code?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #19 on Tue 27 Apr 2004 08:05 AM (UTC)
Message
Yes, I was worried about that too, for obvious reasons.

The one I am experimenting with supports the <verbatim> tag which seems to allow you to post scripts etc. without too much trouble.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Adriana   (8 posts)  Bio
Date Reply #20 on Thu 29 Apr 2004 01:34 AM (UTC)
Message
well really what I'm looking for is a step-by-step explanation for each apostrophe, each space, each letter, each number that is written in a script. The reason why I want to know is that I want to understand the actual language. I can't do a damn thing with it if I don't understand what you're giving me to copy and paste into a program I'm trying to get familiar with. Try and put yourself in my shoes for a moment. You're completely unlearned in the ways of scripting. You don't even know a script language. But you wanna learn. A play-by-play explanation would be awesome. :)

Instant gratification isn't fast enough!
Top

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #21 on Thu 29 Apr 2004 03:17 AM (UTC)
Message
Right.. The mud equivalent of starting with "Hello World". Funny thing is you could even do that. lol
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #22 on Thu 29 Apr 2004 06:38 AM (UTC)
Message
The stuff I have posted so far is really just the XML equivalent of a trigger/alias, although my later one had a couple of script commands in it.

Things like:


<alias
   match="TAR *"
   enabled="y"
 ...


Simply means "add an alias". The "match" field is "TAR *". The "enabled" flag is checked. And so on.

I also posted this:


SetVariable "target", "%1"
ColourNote "white", "blue", "Target now %1"


All these things (eg. SetVariable) are documented in the help file that comes with MUSHclient, and also here:

http://www.gammon.com.au/scripts/doc.php

Simply search (on the web page or in the help) for a word, eg. SetVariable, and it will explain what it does.




However, following up from the earlier suggestion, I am setting up a wiki and will have it ready for people to start adding stuff to it in around 24 hours from now.

Basically this means that people who know this stuff, like Shadowfyr, Flannel and others who have used MUSHclient a bit, can write up "how to" pages and add examples, explanations and so on.

This should be quite helpful for beginners, and also serve as reference material for more experienced users.



- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #23 on Sat 01 May 2004 02:37 AM (UTC)
Message
The wiki is now available at http://www.gammon.com.au/wiki/index.php/HomePage.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #24 on Sat 01 May 2004 12:47 PM (UTC)
Message
I also think it would be a good idea to change the colors/background to make it feel more like the forums, don't you agree?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #25 on Sat 01 May 2004 12:57 PM (UTC)

Amended on Sat 01 May 2004 12:59 PM (UTC) by Poromenos

Message
By the way, is there a way for users to log on to the Wiki using their name?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #26 on Sat 01 May 2004 01:05 PM (UTC)
Message
Also, I was thinking of having a suggestion list on the Wiki, so that people know what is about to be implemented and they could be removed when they are implemented in future versions. This way people can see the TODO list and not ask for things already asked for, etc

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #27 on Sat 01 May 2004 06:44 PM (UTC)

Amended on Sat 01 May 2004 06:48 PM (UTC) by Flannel

Message
Couldnt Just edit your post there Poromenos? heh.

Anyway, the beauty of the wiki is you can go and ADD the Suggestions page. Dont need to ask permission, or wait for implimentation. Or... do you mean a suggestion page here.
(Which does make sense, since a lot of average joe users will be uncomfortable editing a wiki, especially at first)

Technically, you could change the color as well, but itd be a very crude hack, as Im sure nick has some "default color" variable. Rather than poor you going through each page. So Id leave that up to him.

Edit: You can log in, its in the bottom right corner. Except you'd need an account, none of us have them yet.

Also, It sees the homepage is locked, so you couldnt add a todo list anyway. Well, not to there. And Poromenos, the TODO list is a great idea.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #28 on Sat 01 May 2004 09:15 PM (UTC)

Amended on Sat 01 May 2004 09:16 PM (UTC) by Nick Gammon

Message
Are you having trouble creating accounts? It seems to me that logging in creates one. Then once it exists you can give it a password.

Once you have an account, which should only take you one minute, you can change "user preferences" - one of those is to choose between about 10 "themes" for the wiki pages. None is the "Gammon Forum" theme, and I suppose I could add that, but you can certainly change the appearance.

As for the "to do" list, only the very home page is locked, and a few other pages for administrative purposes.

I presume the "to do" list is for MUSHclient? Then, make your own "todo" page on the *MushClient* page. Ditto for AreaEditor, SMAUG, etc.

The only time the main home page should need changing is if someone wants a whole new major link. That way it stays reasonably organised.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #29 on Sat 01 May 2004 09:42 PM (UTC)
Message
When I try to login, or rather "post as" it says my account doesnt exist. This Error:
lib/WikiDB/backend/PearDB.php:765: Fatal[256]: wikidb_backend_mysql: fatal database error

DB Error: no such table
(SELECT userid FROM user WHERE userid='Flannel' [nativecode=1146 ** Table 'gammon_com_au_2.user' doesn't exist])


And actually, whenever I click the link, I get this error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://www.gammon.com.au/wiki/index.php/HomePage';. Line 4, Position 11

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
----------^


Until I refresh.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
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.


140,260 views.

This is page 2, subject is 3 pages long:  [Previous page]  1  2 3  [Next page]

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.