Is there a way for input() to ask for two different things from the player?
Like password and username. If not, is there an tutorial/resource of how to do this laying around somewhere?
Seems like too much work as I wanted to apply this knowledge on a recluse verb that would be seldom used. Seeing as how the knowledge will be transferable to other things though I'm going to pick it up. You have any material you'd recommend for starters?
|
I will admit that it took some time learning how BYOND works with HTML (more specifically, interaction between browser() and BYOND) and it came in handy for small things like making an HTML create/edit box where you can SEARCH for something specific instead of going through a list() via input() manually (/shameless plug).
If you do not know HTML, look it up through a search engine. There are a lot of resources out there :) I, myself, am used to W3Schools but be warned that they tend to show examples that may not be the best way to go about... This looks like a great place to start learning how to make HTML interact with BYOND: http://www.byond.com/forum/?post=34078 I will try to look for some other tutorials but a great place to start off is looking at the entries of browse() and Topic() Note that there are three Topic() procedures:
|
For the HTML thing, you will need to know the basics (or have a web editor to take care of the designing... and knowing CSS is a boon) in addition to researching how client/Topic() works in conjunction with HTML. [Upon clicking links, you can have parameters submitting information from the browser --> client/Topic())