ID:166841
 
Code:
turf/START
density = 1
layer = 999
icon = 'login.bmp'
Click()
var/list{players=usr.PlayerList();listing=new()}
listing+=players
if(length(listing) <= 3)
var/charactername = input("","Name") as text|null
if(length(charactername) >= 20||length(charactername) <= 2)
usr<<"Your name must be longer then 2 letters but shorter then 20!!!"
del usr
usr.name="[html_encode(charactername)]"
usr.loc = locate(93,97,20)
else
alert("You already have 2 characters! If you want to make a new one you must first delete 1 of your other characters!")
return
turf/FORUMS
density = 1
icon = 'nsblogin.PNG'
layer = 999
Click()
usr<<browse({"Click<br><a href='http://cow.com'>Here</a> to visit our forums
or Click<br><a href='http://cow.com'>Here</a> to visit our website"}
)
turf/Load
density = 1
icon = 'login.bmp'
layer = 999
Click()
usr.Load4()
turf/Delete
density = 1
layer = 999
icon = 'login.bmp'
Click()
usr.delete()
client
Del()
SavePlayer5()
del(mob)
return ..()
mob/proc
Load4()
var/list{players=src.PlayerList();listing=new()}
listing+=players
var/selection=input("which character do you wish to load?", "Load Character") in listing
src.LoadPlayer(selection)
sleep(10)
src.Frozen = 0
src.Move_Delay = Speed1
src.testing = 0
src.Moveing = 0

mob/proc
delete()
there
var/savefile/F=new("players/[src.ckey]/mobs.sav")
F.cd="/[ckey]";var/list{Players=F.dir;listing=new()}
var/Cancel="Cancel";listing+=Players;listing+=Cancel
var/selection=input("Which character would you like to delete?","Deleteing Character") in listing
if(selection){F.cd="/[ckey]";F.dir.Remove(selection)};if(selection==Cancel)usr<<"Alright."
else goto there
turf/MaleWhite
icon = 'Base white.dmi'
Click()
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'Base white.dmi'
usr.Oicon='Base white.dmi'
usr.loc = locate(49,95,20)
if("No")
usr<<"OK"

turf/MaleTan
icon = 'BaseT.dmi'
Click()
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'BaseT.dmi'
usr.Oicon='BaseT.dmi'
usr.loc = locate(49,95,20)
if("No")
usr<<"OK"
turf/FeMaleWhite
icon = 'FemaleW.dmi'
Click()
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon='FemaleW.dmi'
usr.Oicon='FemaleW.dmi'
usr.loc = locate(49,95,20)
if("No")
usr<<"OK"
turf/FeMaleTan
icon = 'FemaleT.dmi'
Click()
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon='FemaleT.dmi'
usr.Oicon='FemaleT.dmi'
usr.loc = locate(49,95,20)
if("No")
usr<<"OK"
turf/inoH
icon = 'inoH.dmi'
Click()
usr.hair = "Ino Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'inoH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,16)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(48,14,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/KakashiH
icon = 'KakashiH.dmi'
Click()
usr.hair = "Kakashi Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'KakashiH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/SasukeH
icon = 'SasukeH.dmi'
Click()
usr.hair = "Sasuke Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'SasukeH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/ShinoH
icon = 'Shair.dmi'
Click()
usr.hair = "Shino Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'Shair.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/Narutogaara
icon = 'narutoH.dmi'
Click()
usr.hair = "Naruto Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'narutoH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/Sakura
icon = 'SakuraH.dmi'
Click()
usr.hair = "Sakura Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'SakuraH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/Gaara
icon = 'Gaara.png'
density = 1
Click()
var/charactertitle = input("","Title EX: >Hatake<, Kakashi - >Yamanaka<, Ino") as text|null
if(length(charactertitle) >= 15)
usr<<"The name you have chosen is to long."
del usr
usr.title="[html_encode(charactertitle)]"
usr.Gaaraclan=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "[usr.title]"
usr.Inuzuka=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
var/obj/Gourd/B = new/obj/Gourd
B.loc = usr
turf/Lee
density = 1
icon = 'Lee.png'
Click()
var/charactertitle = input("","Title EX: >Hatake<, Kakashi - >Yamanaka<, Ino") as text|null
if(length(charactertitle) >= 15)
usr<<"The name you have chosen is to long."
del usr
usr.title="[html_encode(charactertitle)]"
usr.loc = locate(93,97,20)
usr<<"You are now a non sytle!"
usr.NonClan=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "[usr.title]"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
turf/Neji
icon = 'nejiH.dmi'
Click()
usr.hair = "Neji Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'nejiH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/Shikamaru
icon = 'shikaH.dmi'
Click()
usr.hair = "Shikamaru Hair"
var/hairred = input("How much red do you want in your hair?") as num
var/hairblue = input("How much blue do you want in your hair?") as num
var/hairgreen = input("How much green do you want in your hair?") as num
var/hairover = 'shikaH.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.rhair = hairred
usr.ghair = hairgreen
usr.bhair = hairblue
usr.Ohair = hairover
usr.hair = usr.Ohair
usr.overlays += usr.hair
usr.random = rand (1,14)
if(usr.key == "Vegito919")
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
return
if(usr.key == "Bustercannon")
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
return
if(usr.key == "Hunter X 14")
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
return
if(usr.random == 1||usr.random == 4)
usr.loc=locate(8,14,2)
usr.Village = "Leaf"
usr.leafS = 1
usr<<"You have been born in the village of Leaf"
if(usr.random == 2||usr.random == 6)
usr.loc=locate(8,98,2)
usr.Village = "Sand"
usr.sandS = 1
usr<<"You have been born in the village of Sand"
if(usr.random == 3||usr.random == 7)
usr.loc=locate(90,49,2)
usr<<"You have been born in the hidden village of sound."
usr.leafS = 1
usr.Village = "Sound"
if(usr.random == 5||usr.random == 8)
usr.loc=locate(91,14,2)
usr.Village = "Grass"
usr.grassS = 1
usr<<"You have been born in the hidden village of grass."
if(usr.random == 9||usr.random == 11)
usr.loc=locate(48,14,2)
usr.Village = "Earth"
usr.earthS = 1
usr<<"You have been born in the hidden village of earth."
if(usr.random == 10||usr.random == 13)
usr.loc=locate(49,51,2)
usr.Village = "Lightning"
usr.lightningS = 1
usr<<"You have been born in the hidden village of lightning."
if(usr.random == 12||usr.random == 14)
usr.loc=locate(42,98,2)
usr.Village = "Rain"
usr.rainS = 1
usr<<"You have been born in the village of rain"
if(usr.random == 15||usr.random == 16)
usr.loc=locate(11,98,10)
usr.Village = "Mist"
usr.mistS = 1
usr<<"You have been born in the village of Mist"
usr.Frozen = 0
turf/CONTINUE
icon = 'Continue.png'
density = 1
Click()
usr.loc = locate(5,96,20)
turf/UCHIHA
icon = 'Uchiha.png'
density = 1
Click()
usr<<"You are now a uchiha clan member!"
usr.Uchiha=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Uchiha"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Aburame=0
usr.Akimichi = 0


turf/KAGUYA
icon = 'Kaguya.png'
density = 1
Click()
usr<<"You are now a kaguya clan member!"
usr.Kaguya=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Kaguya"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0



turf/Hyuuga
density = 1
icon = 'Hyuuga.png'
Click()
usr<<"You are now a hyuuga clan member!"
usr.Hyuuga=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Hyuuga"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0

turf/Lee
density = 1
icon = 'Lee.png'
Click()
usr<<"You are now a lee sytle!"
usr.NonClan=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Non-Clan"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0

turf/Akimichi
density = 1
icon = 'Akimichi.png'
Click()
usr<<"You are now a akimichi clan member!"
usr.Akimichi=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Akimichi"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0

turf/Aburame
density = 1
icon = 'Aburame.png'
Click()
usr<<"You are now a aburame clan member!"
usr.Aburame=1
usr.Realplayer = 1
usr.Konchuu = 10
usr.human = 1
usr.Clan = "Aburame"
usr.Haku = 0
usr.Akimichi=0
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0

turf/Inuzuka
density = 1
icon = 'Inuzuka.png'
Click()
usr<<"You are now a inuzuka clan member!"
usr.Inuzuka=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Inuzuka"
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0

turf/Nara
density = 1
icon = 'Nara.png'
Click()
usr<<"You are now a nara clan member!"
usr.Nara=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Nara"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0


turf/Haku
density = 1
icon = 'Haku.png'
Click()
usr<<"You are now a haku clan member!"
usr.Haku=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Haku"
usr.Akimichi=0
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0


Problem description: well this for my friend, he wants to make this login where instead having to click a certain part of the picture to create a character, he want it to be like a pop-up all the way through, like when they press new a pop-up comes which ask name, they clan they want..


You really think someone is going to look through all that code, get the .. eur, bad things out of it, so you can run with the "glory", if there is any?
This might take a while, but instead of making you click the turf, you make a switch for similar groups, such as clans. Here's an example for your gender choosing... (I use goto and labels often for double checking)

mob
Login()
Gender//the label for gender
switch(input("What kind of icon do you want?","Icon") in list("White Male","Tan Male","White Female","Tan Female")
if("White Male")//after this is basically what you used for the click() function, except that when you click no, it let's you choose again.
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'Base white.dmi'
usr.Oicon='Base white.dmi'
usr.loc = locate(49,95,20)
if("No")
goto Gender
if("Tan Male")
//Insert the tan male click() proc here, and remember to replace the NO answer with goto Gender


Basically do the same thing throughout for each group.
In response to Mysame
Mysame wrote:
You really think someone is going to look through all that code, get the .. eur, bad things out of it, so you can run with the "glory", if there is any?

You don't need to. And there arn't any bad things, just a change in what system he wants to use.

If you encounter any more problems, just tell us.
In response to Kalidascorp
<db>
turf/START
density = 1
layer = 999
icon = 'nsblogin.PNG'
Click()
var/list{players=usr.PlayerList();listing=new()}
listing+=players
if(length(listing) <= 3)
var/charactername = input("","Name") as text|null
if(length(charactername) >= 20||length(charactername) <= 2)
usr<<"Your name must be longer then 2 letters but shorter then 20!!!"
del usr
usr.name="[html_encode(charactername)]"
usr.loc = locate(93,97,20)
else
alert("You already have 2 characters! If you want to make a new one you must first delete 1 of your other characters!")
return
// picking gender
mob/proc
Newchar()
Gender//the label for gender
switch(input("What kind of icon do you want?","Icon") in list("White Male","Tan Male","White Female","Tan Female"))
if("White Male")//after this is basically what you used for the click() function, except that when you click no, it let's you choose again.
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'Base white.dmi'
usr.Oicon='Base white.dmi'
usr.loc = locate(49,95,20)
if("No")
goto Gender
if("Tan Male")
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'BaseT.dmi'
usr.Oicon='BaseT.dmi'
usr.loc = locate(49,95,20)
if("No")
goto Gender
if("White Female")//after this is basically what you used for the click() function, except that when you click no, it let's you choose again.
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'FemaleW.dmi'
usr.Oicon='Base white.dmi'
usr.loc = locate(49,95,20)
if("No")
goto Gender
if("Tan Female")
switch(alert("Is this the icon you want?","Icon","Yes","No"))
if("Yes")
usr<<"OK"
usr.icon = 'BaseT.dmi'
usr.Oicon='BaseT.dmi'
usr.loc = locate(49,95,20)
if("No")
goto Gender
</dm>

+ i got this code so far thax to you :), but i want that after you input the name, i wanted it to directly go to the scond part of above code, so its like a chain, pick an name then gender..
In response to Domedaydevice141
hmm depends on how u mean, if u mean after u get switch for the name and when u imput name add another switch and make it do the proc for char choice