Mystic Software Forums
Mystic Software => General Discussion => Topic started by: Ichigatsu on November 12, 2005, 06:49:14 PM
-
Basically the title tells itself, Can somebody show me how to uses promt to enter passwords?
-
I made one assuming you have multiple passwords stored
passtest$=prompt()
until(found!)
{
local(x!,0)
//added "!found!" jic you had multiple if statements
if(passvar[x!]$ == passtest$ && !found!)
{
//do success stuff here
found!=1 //or you can have found!++
}
x!++
}
There may need to be some tweaking but the gist is there.
-
....um yeah, I don't understand....
Perhaps I need to go indepth, in order to find my answer. I've been thinking on an idea of using passwords as a Battle system. Other then using everyday normal spells like fire or water to cast. All of it will be combined into one.
I was thinking if by using prompt; to type the different type of spells to cast on the target; how could it be possible .
My idea in the basic format
Prompt("I cast...!")
//for ex I type. Flame twister
Run("Flame twister.spc")
//end of turn
For all I know prompt may not be even the solution. If there is any way please clearify prompt of this lowly newby. ~_~