Author Topic: (no subject)  (Read 1502 times)

Ichigatsu

  • Member
  • *
  • Posts: 27
    • View Profile
(no subject)
« on: November 12, 2005, 06:49:14 PM »
Basically the title tells itself, Can somebody show me how to uses promt to enter passwords?
« Last Edit: December 31, 1969, 06:00:00 PM by Ichigatsu »
\"Von eve das ou la gyumi. Ihyudor, Laj zhisk ah traubem brriaal, von das ou ttach gyumi klruger ba set\".

(and yes, it\'s a made up language)

AlienDude

  • Member
  • *
  • Posts: 605
    • View Profile
    • http://www.taralax.com
(no subject)
« Reply #1 on: November 14, 2005, 08:17:58 AM »
I made one assuming you have multiple passwords stored
Code: [Select]
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.
« Last Edit: November 14, 2005, 08:24:04 AM by AlienDude »
Quote
May your star always be good to you and may your travels be swift.
 
- Traveller Farewell
(adapted from the Necroscope series by Brian Lumley)

Taralax Studios BEING REBUILT GENOME BY GENOME! \n\t\t\t\t\t\t\t\t\t
<' + '/div>\n\t\t\t\t\t\t\t\t\t