ID:261215
 
the admin file does not work after asking many coders they say it is some thing to do with the login code. can any one correcet that.

mob/
Login() // this is what happens when somone logs into your game.
var/character = input("Who do you want to be?") in list ("Goku","Vegeta","Krillin","Trunks") // var/race means that you are making a new variable called "character". input means that you are asking your user for somthing. in list gives them the choice of what to be.
switch(character) // this makes it so that, depending on what they chose for "character", somthing happens.
if("Goku") // If it's a Goku, you set their icon to Goku. Of course, you would need a Goku icon to do this.
icon='Goku.dmi'
Plvl=5000
if("Vegeta") // same here, look above.
icon='Vegeta.dmi'
Plvl=5500
if("Krillin") // and, the same thing here.
icon='Krillin.dmi'
if("Trunks")
icon='trunks.dmi'
Plvl=4000
..() // this means to go on as usual. If you forget this, all they will see is
Super saiyan3 wrote:
the admin file does not work after asking many coders they say it is some thing to do with the login code. can any one correcet that.

Considering the login code you posted has absolutely nothing to do with using the admin library, my guess is the coders you talked to weren't very bright. Either that, or they were extremely bright, in wryly pointing out that the root of the problem is that you're making yet another DBZ game.

Lummox JR
In response to Lummox JR
lol