|
Post by NASH7777 on Apr 10, 2005 11:06:06 GMT -5
Yeah
Input:Text Input password=usertext input Sort Password If "infhp" ~turn inv flag on to end If "maxhp" ~mhp=9999 to end IF NONE screen text "Password error" to end
|
|
|
Post by NASH7777 on Apr 10, 2005 16:04:00 GMT -5
There's a command for it. I just couldn't remember it's proper names but it's with the other scripts that fall into that category.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 10, 2005 16:44:23 GMT -5
It's 'No Application', meaning it happens if none of the above 'Apply If's' are met. It's quite a helpful little command.
|
|
|
Post by The Smurf on Apr 10, 2005 18:05:32 GMT -5
i remember having trouble with this, and this is the script Will gave me:
"---Password Input--- Here's the script you use if you want someone to type up a password to have something happen.
Text or number input script: 1-Text:Message"whatever you want here" 2-Input Creation:Text(how many letters you designate to type go here) *This part of the script displays a message, then shows a letter (or number if the command is changed to number input) input window to input text in. You can designate how many letters, or number digits the player can type in. For confusion, you could give the player the ability to type 6 letters/numbers for a three number/letter password. 3-Script Branch:Sort:Input Variable(Input) 4-Script Branch:Apply If: Text is "whatever text you want here" *This part sorts out the stuff the player types, from what's actually correct. You can also add in another "Apply If:" command after part #5, to have another scenario if the player types another certain password. 5-Whatever you want to happen when text entered matches Apply If: text goes here 6-Script Branch:To End *This part makes the script go to the next "Script:Branch End", which is at the bottom, so nothing else happens. 7-Script Branch:No Application *This part distinguishes if what the player typed was wrong, or didn't match the above passwords. 8-Whatever you want to happen when text entered doesn't match Apply If: text goes here 9-Script:Branch End"
and it worked.
-the smurf
|
|