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

corim123

  • Member
  • *
  • Posts: 14
    • View Profile
(no subject)
« on: July 18, 2005, 09:43:56 AM »
I don't exactly remember how or where I got this program, either toolkitzone.com or this site but I edited it and now, no matter what you enter in the password box you are allowed entry, I was wondering what is wrong
Quote
#Fontsize(50)
#Mwin("Please enter password")
#Prompt("Go to the temple to get the password! Enter it here!", dest$)*Question asks you to enter password
#If(dest$=="shrine")*if the password is hello print access granted
                {
     #mwincls()
     #mwin("You may enter the forest!")
     #delay(3)
                  Send("forest.brd", 19, 9, 1)
  }
#if(dest$~="shrine")*If the password is not hello print access denied
                {
     #mwincls()
     #mwin("Go to the temple!")
     #delay(3)
                  Send("2.brd", 1, 1, 1)
  }

or dl the file from <a href='http://s45.yousendit.com/d.aspx?id=3DXFATMCMUSG63CJSGA2486HAN' target='_blank'>HERE</a>
« Last Edit: July 18, 2005, 09:46:07 AM by corim123 »
<a href=\'http://kevan.org/brain.cgi?corim123\' target=\'_blank\'>Every person who clicks this gives me 10 cents please click</a>


VERY IMPORTANT:
if you could click <a href=\'http://forums.fusionxhost.com/index.php?ref=1435\' target=\'_blank\'>HERE</a>
and sign up I will be very happy, be sure to use this link, by
signing up you will get a free ad link on my site, but please
hurry this is only good untill the end of august

DarkElite

  • Member
  • *
  • Posts: 1452
    • View Profile
    • http://cryosoft.mysticsoftware.net/Home.html
(no subject)
« Reply #1 on: July 20, 2005, 05:03:37 PM »
hm.... try taking the quotes out from around the dest$ variable string

but dont take my advice, i haven't touched RPGCode in like a year  Very Happy
« Last Edit: December 31, 1969, 06:00:00 PM by DarkElite »
DarkElite

Dei vobem omniam proditiverunt.  Iam vobis quis deposcibitis sacrificium rersum vitae est!

Xorlak

  • Administrator
  • Member
  • *****
  • Posts: 2225
    • View Profile
    • http://darkagegames.net
(no subject)
« Reply #2 on: July 21, 2005, 10:14:46 PM »
Technically there's nothing wrong with it, but I don't think the translator likes your comments and/or spacing.  Getting rid of the comments after the if's worked for me:

Code: [Select]
#Fontsize(50)
#Mwin("Please enter password")
#Prompt("Go to the temple to get the password! Enter it here!", dest$)*Question asks you to enter password
#If(dest$=="shrine")
{
  #mwincls()
  #mwin("You may enter the forest!")
  #delay(3)
  Send("forest.brd", 19, 9, 1)
}
#if(dest$~="shrine")
{
  #mwincls()
  #mwin("Go to the temple!")
  #delay(3)
  Send("2.brd", 1, 1, 1)
}
« Last Edit: December 31, 1969, 06:00:00 PM by Xorlak »

corim123

  • Member
  • *
  • Posts: 14
    • View Profile
(no subject)
« Reply #3 on: July 22, 2005, 08:29:17 AM »
so is the code you posted correct, or what do I have to edit, I'm comfused
« Last Edit: December 31, 1969, 06:00:00 PM by corim123 »
<a href=\'http://kevan.org/brain.cgi?corim123\' target=\'_blank\'>Every person who clicks this gives me 10 cents please click</a>


VERY IMPORTANT:
if you could click <a href=\'http://forums.fusionxhost.com/index.php?ref=1435\' target=\'_blank\'>HERE</a>
and sign up I will be very happy, be sure to use this link, by
signing up you will get a free ad link on my site, but please
hurry this is only good untill the end of august

DarkElite

  • Member
  • *
  • Posts: 1452
    • View Profile
    • http://cryosoft.mysticsoftware.net/Home.html
(no subject)
« Reply #4 on: July 22, 2005, 02:11:16 PM »
doesnt matter which, just take out the comments after the if's....


fun stuff
« Last Edit: December 31, 1969, 06:00:00 PM by DarkElite »
DarkElite

Dei vobem omniam proditiverunt.  Iam vobis quis deposcibitis sacrificium rersum vitae est!

Xorlak

  • Administrator
  • Member
  • *****
  • Posts: 2225
    • View Profile
    • http://darkagegames.net
(no subject)
« Reply #5 on: July 22, 2005, 04:40:11 PM »
The code I posted should work fine.
« Last Edit: December 31, 1969, 06:00:00 PM by Xorlak »

corim123

  • Member
  • *
  • Posts: 14
    • View Profile
(no subject)
« Reply #6 on: July 23, 2005, 01:24:12 AM »
thx lol
corim123
« Last Edit: December 31, 1969, 06:00:00 PM by corim123 »
<a href=\'http://kevan.org/brain.cgi?corim123\' target=\'_blank\'>Every person who clicks this gives me 10 cents please click</a>


VERY IMPORTANT:
if you could click <a href=\'http://forums.fusionxhost.com/index.php?ref=1435\' target=\'_blank\'>HERE</a>
and sign up I will be very happy, be sure to use this link, by
signing up you will get a free ad link on my site, but please
hurry this is only good untill the end of august