ID:270654
 

    switch(alert(src, "Choose your Char", "Character Creation", "Shino", "Kakashi","Garra","Iruka","Rock Lee","Sasuke","Naruto","Zabuza","Sakura","Neiji","Itachi","Jiraiya"))
if("Shino")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Shino"
if("Kakashi")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Kakashi"
if("Garra")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Garra"
if("Iruka")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Iruka"
if("Rock Lee")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Rock Lee"
if("Sasuke")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Sasuke"
if("Naruto")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Naruto"
if("Zabuza")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Zabuza"
if("Sakura")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Sakura"
if("Neiji")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Neiji"
if("Itachi")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Itachi"
if("Jiraiya")
usr.icon= 'Naruto Bases.dmi'
usr.icon_state="Jiraiya"


Programming\Creation.dm:506:error:alert :expected 1 to 6 arguments (found 15).





ok the error is switch(alert(src, "Choose your Char", "Character Creation", "Shino", "Kakashi","Garra","Iruka","Rock Lee","Sasuke","Naruto","Zabuza","Sakura","Neiji","Itachi","J iraiya"))

please can somone help me
Use input instead of alert.
In response to Dead_Demon
i did that and it worked but when they choose there char there icon is normal
In response to Supper yugi
when you define a icon you cant add spaces.

ex:
mob
NPC
icon = 'my icon.dmi'
//notice that my icon is seperated by a space, this is incorrect

mob
NPC
icon = 'my_icon.dmi'
//notice that my_icon is seperated by a '_', this is correct
In response to Carved in Shadows
when i did that it said it couldn't find the icon
In response to Supper yugi
because the icon's name is 'Naruto Bases.dmi' you have to make another icon called 'Naruto_Bases.dmi' and import the graphics from the older one... you basicly created a file that you cant access
In response to Carved in Shadows
Um... No. That isn't the problem. He has all of his choices floating about inside of the input().

var/choice=input(src,"Choose your character","Character Creation")in list("Choice 1","Choice 2","Choice3")

Is what you want to do.
In response to Exophus
ok i'm gonna try Exophus theory but where do i put it in this
turf
Naruto_Online4
icon ='images/login/newlogin.png'
weatherProof=1
turf
Naruto_Online5
icon ='images/login/nntvillagepick.png'
weatherProof=1
turf
Naruto_Online1
icon ='images/login/CLAN.png'
weatherProof=1

client/New()
..()
if(src.byond_version>=347)
..()
else
sleep(1)
src<<"<font color=red>You need a newer version of the <a href=http://developer.byond.com/download/>BYOND Client</a> to play [world.name]! You currently have BYOND.Version: [src.byond_version]</font>"
del(src)
mob
Login()
..()
if(global.canlogin)
src<<"<small><font color=red><b><u>Announcements:</u></b></font></small>"
src<<"<small><font color=red><b>---</b></font></small>"
src<<"<small><b>See the game updates <a href=http://s13.invisionfree.com/Naruto_Onlines_Board/index.php?showforum=25>here</a>.</b></font></small>"
src<<"<small><b>Have mIRC? <a href=http://s13.invisionfree.com/Naruto_Onlines_Board/index.php?showtopic=893&st=0>Connect</a> to our irc Server!</b></font></small>"
src<<"<small><b>Need help with the game? Try our <a href=ttp://s13.invisionfree.com/Naruto_Onlines_Board/index.php?showtopic=313>Offical Guide</a>.</b></font></small>"
src<<"<small><font color=red><b>---</b></font></small>"
src<<"<lARGE><b>HI AND NOW WE HAVE A NEW HAVE A SPECIAL IF YOU PAY 500 YEN YOU CAN BE ALMOST ANY NARUTO CHAR</b></font></small>"
src.loc=locate(/turf/Login)
src.move=1
src << sound('evening.mid')
src.verbs-=new/mob/verb/Attack()
src.verbs-=new/mob/verb/Rest()
src.verbs-=new/mob/verb/Create_Squads
src.verbs-=new/mob/verb/Henge_Nojutsu
src.verbs-=new/mob/verb/Water_Walk
if(global.iswar){src<<"<small><b>Currently there is a war between [village1] & [village2]!"}
world << "<small><b><font color = red><u>World News</u>: <small>[src.key]</font> has <font color = green>connected</font></small>"
if(global.world_muted){src<<"<small><b>Currently, The world chat is muted!</font></small>"}
else
if(GLOBAL_ADMINS.Find(src.key)){src.loc=locate(/turf/Login);return 0}
else if(global.admin3.Find(src.key)){src.loc=locate(/turf/Login);return 0}
else if(global.admin2.Find(src.key)){src.loc=locate(/turf/Login);return 0}
else if(global.admin1.Find(src.key)){src.loc=locate(/turf/Login);return 0}
sleep(1)
src<<"<font color=red>[world.name]'s Administration has restricted login access. This could be because of massive lag and they are waiting for the lag to die down before letting more players in. Sorry for the inconvience and please come back later (This does not mean try to connect every 10 seconds!!).</font>"
del(src)

Logout()
..()
for(var/mob/Pets/Dog/D)
if(D.owner==src)
src.petout=0
del(D)
for(var/mob/Pets/Puppet/P)
if(P.owner==src)
src.petout=0
del(P)
for(var/mob/enemy/Clone/E)
if(E.owner==src)
del(E)
for(var/mob/enemy/Gama/G)
if(G.owner==src)
src.gamaout=0
del(G)
for(var/mob/enemy/Gamakichi/G2)
if(G2.owner==src)
src.gamaout=0
del(G2)
for(var/mob/enemy/Manda/G3)
if(G3.owner==src)
src.gamaout=0
del(G3)
for(var/mob/enemy/Katsuyu/G4)
if(G4.owner==src)
src.gamaout=0
del(G4)
if(src.INEXAM)
src.DieParty()
src.INEXAM=1
if(src.login)
src.Save()
world << "<small><b><font color = red><u>World News</u>: <small>[src.key]</font> has <font color = red>disconnected</font></small>"
del(src)

turf/Login
weatherProof=1
turf/Login2
weatherProof=1
turf/Login3
weatherProof=1
turf/New
weatherProof=1
Click()
if(!usr.login&&!usr.creating)
usr.Create()

turf/Load
weatherProof=1
Click()
usr.Load()



mob/verb/Load()
set hidden = 1
if(usr.login)return 0
if(usr.creating)return 0
usr.creating=1
switch(alert(usr, "Welcome to [world.name]", "Slot Loading","Slot 1","Slot 2","Slot 3"))
if("Slot 1")
if(fexists("players/[usr.ckey]/[usr.ckey](1).sav"))
usr.creating=0
if(usr.login)return
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](1).sav")
if(usr.creating)return
Read(F)
sleep(1)
usr.move=0
usr.savefile1=1
usr.Stuff()
else
usr<<"No savefile found in this slot!"
if("Slot 2")
if(fexists("players/[usr.ckey]/[usr.ckey](2).sav"))
if(usr.login)return
usr.creating=0
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](2).sav")
if(usr.creating)return
Read(F)
sleep(1)
usr.move=0
usr.savefile2=1
usr.Stuff()
else
usr<<"No savefile found in this slot!"
if("Slot 3")
if(fexists("players/[usr.ckey]/[usr.ckey](3).sav"))
if(usr.login)return
usr.creating=0
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](3).sav")
if(usr.creating)return
Read(F)
sleep(1)
usr.move=0
usr.savefile3=1
usr.Stuff()
else
usr<<"No savefile found in this slot!"



turf/Delete
weatherProof=1
Click()
usr.Delete()

turf/Creation/Leaf
weatherProof=1
Click()
if(!usr.login)
usr.village="Hidden Leaf"
usr.Clans()

turf/Creation/Sand
weatherProof=1
Click()
if(!usr.login)
usr.village="Sand Village"
usr.Clan = "Non Clan"
usr<<"Your Clan has been selected for you."
usr<<"Your clan is: Non-Clan. Don't worry, because your are a sand-nin you will gain special abilities."
usr.contents += new /obj/inventory/GaaraOutfit
usr.contents += new /obj/inventory/sandoutfit
usr.Start()

turf/Creation/Mist
weatherProof=1
Click()
if(!usr.login)
if(usr.talkedwater)return
usr.talkedwater=1
usr.Clan = "Kaguya"
usr.village="Hidden Mist Village"
usr.talkedwater=0
if(usr.Clan=="Kaguya")
usr.contents += new /obj/inventory/KaguyaCloths
usr<<"Your clan has been selected: Kaguya"
usr.Start()
turf/Creation/Mist2
weatherProof=1
Click()
if(!usr.login)
if(usr.talkedwater)return
usr.talkedwater=1
usr.Clan = "Non Clan"
usr.village="Snow Village"
usr.talkedwater=0
usr.contents += new /obj/inventory/SnowChakra
usr.contents += new /obj/inventory/snowclothes
usr.Start()
mob/verb/Save()
set hidden=1
if(src.login)
if(src.usedhero){src<<"You must revert from hero-water before saving!";return 0}
if(src.Tessenka){src<<"You must revert from Tessenka before saving!";return 0}
if(src.ByakuganUse){src<<"You must revert from Byakugan before saving!";return 0}
if(src.SharinganUse){src<<"You must revert from Sharingan before saving!";return 0}
if(src.MangekyouUse){src<<"You must revert from Sharingan before saving!";return 0}
if(src.Cseal){src<<"You must revert from the cursed-seal before saving!";return 0}
if(src.KyuubiUse){src<<"You must revert before saving!";return 0}
if(src.ShukakuUse){return 0}
if(usr.shimon){usr<<"Cannot save in gates!";return 0}
if(usr.kyomon){usr<<"Cannot save in gates!";return 0}
if(usr.tomon){usr<<"Cannot save in gates!";return 0}
if(usr.sheimon){usr<<"Cannot save in gates!";return 0}
if(usr.keimon){usr<<"Cannot save in gates!";return 0}
if(usr.shomon){usr<<"Cannot save in gates!";return 0}
if(usr.kumon){usr<<"Cannot save in gates!";return 0}
if(usr.kaimon){usr<<"Cannot save in gates!";return 0}
if(usr.seimon){usr<<"Cannot save in gates!";return 0}
if(src.savefile1)
src<<"Character Saved!"
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](1).sav")
src.savefile1=1
Write(F)
else
if(src.savefile2)
src<<"Character Saved!"
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](2).sav")
src.savefile2=1
Write(F)
else
if(src.savefile3)
src<<"Character Saved!"
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](3).sav")
src.savefile3=1
Write(F)



mob/proc/Stuff()
src.login=1
src.density=initial(density)
src<<sound(null)
src.gamaout=0
src.sexy = 0
src.rest = 0
src.INKYUU=0
src.INHIJUTSU=0
src.sight &= ~SEE_SELF
src.ADMIN()
src.icon=icontype
src.taking=0
src.confused=0
src.icon_state=""
src.Stuff2()

mob/proc/KageStuff()
if(src.iskage)
src.verbs += /mob/Kage/verb/TakeKage
src.verbs += /mob/Kage/verb/KageWar2
src.verbs += /mob/Kage/verb/KageWar
src.verbs += /mob/Kage/verb/KageWar3
src.verbs += /mob/Kage/verb/KageChat
src.verbs += /mob/Kage/verb/Kagekick
src.verbs += /mob/Kage/verb/KageINV
else
src.verbs -= /mob/Kage/verb/TakeKage
src.verbs -= /mob/Kage/verb/KageWar2
src.verbs -= /mob/Kage/verb/KageWar
src.verbs -= /mob/Kage/verb/KageWar3
src.verbs -= /mob/Kage/verb/KageChat
src.verbs -= /mob/Kage/verb/Kagekick
src.verbs -= /mob/Kage/verb/KageINV


mob/var/debugnodone=0


mob/proc/DEBUGY()
src.KageStuff()
if(src.dead)
src.dead=0
src<<"You are now permitted to leave the hospital!"
if(src.INHIJUTSU)
src.move=0
src.INHIJUTSU=0
src<<"You are no longer locked by mirrors!"
if(src.INEXAM)
src.DieParty()
if(src.injail)
src.injail=1
src <<"<B>You have been jailed as punishment.</B>"
sleep(600*3)
src <<"<B>Your jail sentance is up.</B>"
src.injail=0
src.SpawnV()
if(src.clonescreated>=1)
src.clonescreated=0
if(src.INKAGE)
src<<"You are unbinded by a mysterious force!"
src.move=0
src.underlays-= image('kagemane.dmi',"head")
src.INKAGE=0
if(src.canasshou)
src.canasshou=0
else
src.overlays-='suna.dmi'
src.overlays-='sousou.dmi'
src.overlays-='goukakyuu.dmi'
src.overlays-='rest.dmi'
src.underlays-='Tsukiyomi2.dmi'
src.overlays-='Tsukiyomi.dmi'
src.overlays-='ryuusa.dmi'
src.overlays-='kyuu.dmi'
src.underlays-= image('kagemane.dmi',"head")
src.overlays-= image('kagemane.dmi',"tail")
src.overlays-=image('Sawarbi.dmi',"kattack")
src.sexy=0
src.move=0


mob/proc/Stuff2()
src.HUD()
src.sight &= ~BLIND
src.invisibility = 0
src.icon='shinobi.dmi'
src.icon_state=""
src.SquadsCheck()
src<<"Character Loaded!"
sleep(10)
src.verbs+=new/mob/verb/Attack()
src.verbs+=new/mob/verb/Rest()
src.verbs+=new/mob/verb/Henge_Nojutsu
src.verbs+=new/mob/verb/Water_Walk
src.hasheaven=0
src.hasearth=0
src.bunshin = 0
src.INSUNA=0
src.rest=0
src.petout=0
src.DEBUGY()



mob/verb/Delete()
set hidden=1
if(usr.login)return
switch(alert(usr, "Which Slot would you like to delete your character from?", "Delete your character?","Slot 1","Slot 2","Slot 3"))
if("Slot 1")
if(fexists("players/[usr.ckey]/[usr.ckey](1).sav"))
switch(alert(usr, "Delete character from Slot-1? *YOUR CHARACTER WILL BE GONE!*", "Character Deletion", "Yes","No"))
if("Yes")
usr<<"<font color=red>Accessing server database...</font>"
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](1).sav")
usr<<"<font color=red>Accessing save file...</font>"
sleep(1)
Read(F)
sleep(1)
names.Remove(usr.name)
sleep(1)
fdel("players/[usr.ckey]/[usr.ckey](1).sav")
sleep(1)
usr<<"<font color=red>Savefile deleted, Please reconnect.</font>"
usr.login=0
sleep(1)
del(usr)
else
usr<<"Okay"
if("Slot 2")
if(fexists("players/[usr.ckey]/[usr.ckey](2).sav"))
switch(alert(usr, "Delete character from Slot-2? *YOUR CHARACTER WILL BE GONE!*", "Character Deletion", "Yes","No"))
if("Yes")
usr<<"<font color=red>Accessing server database...</font>"
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](2).sav")
usr<<"<font color=red>Accessing save file...</font>"
sleep(1)
Read(F)
sleep(1)
names.Remove(usr.name)
sleep(1)
fdel("players/[usr.ckey]/[usr.ckey](2).sav")
sleep(1)
usr<<"<font color=red>Savefile deleted, Please reconnect.</font>"
usr.login=0
sleep(1)
del(usr)
else
usr<<"Okay"

if("Slot 3")
if(fexists("players/[usr.ckey]/[usr.ckey](3).sav"))
switch(alert(usr, "Delete character from Slot-3? *YOUR CHARACTER WILL BE GONE!*", "Character Deletion", "Yes","No"))
if("Yes")
usr<<"<font color=red>Accessing server database...</font>"
var/savefile/F = new("players/[usr.ckey]/[usr.ckey](3).sav")
usr<<"<font color=red>Accessing save file...</font>"
sleep(1)
Read(F)
sleep(1)
names.Remove(usr.name)
sleep(1)
fdel("players/[usr.ckey]/[usr.ckey](3).sav")
sleep(1)
usr<<"<font color=red>Savefile deleted, Please reconnect.</font>"
usr.login=0
sleep(1)
del(usr)
else
usr<<"Okay"

mob
Write(savefile/F)
..()
F["last_x"] << x
F["last_y"] << y
F["last_z"] << z
savedoverlays = overlays.Copy()
overlays.Cut()
overlays = savedoverlays.Copy()
Read(savefile/F)
..()
var/last_x
var/last_y
var/last_z
F["last_x"] >> last_x
F["last_y"] >> last_y
F["last_z"] >> last_z
src.loc = locate(last_x, last_y, last_z)
overlays = savedoverlays.Copy()
for (var/t in src.techniques) src.verbs += t




turf/Spawn
weatherProof=1
turf/Spawn2
weatherProof=1
turf/Spawn3
weatherProof=1
mob/proc/Start()
usr.sight |= BLIND
usr.login=1
if(src.village=="Hidden Leaf")
src.loc=locate(/turf/Spawn)
src.rank="Leaf-NiN Student"
if(src.village=="Sand Village")
src.loc=locate(/turf/Spawn2)
src.rank = "Sand-NiN Student"
if(src.village=="Hidden Mist Village")
src.loc=locate(/turf/Spawn3)
src.rank = "Mist-NiN Student"
if(src.village=="Snow Village")
src.loc=locate(/turf/SpawnSnow)
src.rank="Snow-NiN Student"
src.atkstr = rand(8,10)
src.health = rand(30,33)
src.maxhealth = src.health
src.health = rand(30,33)
src.maxhealth = src.health
src.chakra = rand(10,13)
src.maxchakra = src.chakra
src.stamina = 100
src.maxstam=src.stamina
src.level = 1
src.atkstr = rand(4,6)
src.exp = 0
src.speed = 5
src.Yen = 50
src.bank_wealth = 0
src.expnext = 100
src.kills = 0
src.deaths = 0
src.firsttalk = 0
src.firsttalk1 = 0
src.totalquests = 0
src.currentquest = "None"
src.learned=0
src.mission=0
src.learned=0
src.learned2=0
src.learned3=0
src.learned4=0
src.maxstam=100
src.Def=10
src.headband=0
src.overlaystaken=1
src.Names()
src.verbs+=new/mob/verb/Attack()
src.verbs+=new/mob/verb/Rest()
src.verbs+=new/mob/verb/Henge_Nojutsu
src.verbs+=new/mob/verb/Water_Walk
src.move=0
src.SquadsCheck()
src << "<font color=green><Font Size=3>Okay and next up for the graduation test is... [src]!"
sleep(20)
src << "<font color=green><Font Size=3>Ok, come and take the test."
sleep(5)
src << "<font color=red><Font Size=1>PREPARE FOR YOUR GENIN TEST"
switch(alert(src, "Choose your Hair Style", "Character Creation", "Spikey", "Bald","Long"))
if("Spikey")
src.overlays+= 'hair_spikey.dmi'
if("Bald")
..()
if("Long")
src.overlays+= 'hair_long.dmi'
src<<"<small>You can change your icon buy asking Dark One later on. Please note their are more hair styles, so be sure to check 'em out!"
src.icon=icontype
src.contents += new /obj/inventory/Yenny
src.sight &= ~BLIND
src.HUD()
if(src.client.IsByondMember())
src.Yen+=250
src.atkstr+=10
src.exp+=300
src.maxchakra+=20
src.maxhealth+=20
src.level+=5
src.maxstam+=50
src<<"<small><b><font color=red>Thanks for supporting BYOND, As a reward [world.name] has automatically boosted your statistics!</font></b></small>"
else
src<<"<small><b><font color=red><a href=http://members.byond.com/?command=membership_info>Support BYOND</a> and get your statistics boosted with a new character!</font></b></small>"

mob/proc/Create()
if(src.creategame)return
if(src.creating)return 0
src.creating=1
switch(alert(src, "Welcome to [world.name]", "Character Creation","Create New?", "Nevermind"))
if("Create New?")
switch(alert(src, "Welcome to [world.name]", "Choose a slot please","Slot 1","Slot 2","Slot 3"))
if("Slot 1")
if(fexists("players/[usr.ckey]/[usr.ckey](1).sav"))
alert("You already have a player in that slot!","[world.name]")
src.creating=0
else
if(src.creategame)return
src.savefile1=1
src.icontype='shinobi.dmi'
src.creategame=1
src.creating=0
src.loc=locate(/turf/Login2)
if("Slot 2")
if(fexists("players/[usr.ckey]/[usr.ckey](2).sav"))
alert("You already have a player in that slot!","[world.name]")
src.creating=0
else
if(src.creategame)return
src.icontype='shinobi.dmi'
src.creategame=1
src.creating=0
src.savefile2=1
src.loc=locate(/turf/Login2)
if("Slot 3")
if(fexists("players/[usr.ckey]/[usr.ckey](3).sav"))
alert("You already have a player in that slot!","[world.name]")
src.creating=0
else
if(src.creategame)return
src.icontype='shinobi.dmi'
src.creategame=1
src.creating=0
src.savefile3=1
src.loc=locate(/turf/Login2)







mob/proc/Clans()
src.loc=locate(/turf/Login3)

turf/Creation/Uchiha
weatherProof=1
Click()
usr.Clan = "Uchiha"
usr.contents += new /obj/inventory/sasukeoutfit
usr.Start()

turf/Creation/Hyuuga
weatherProof=1
Click()
usr.Clan = "Hyuuga"
usr.contents += new /obj/inventory/hyuugaoutfit
usr.Start()

turf/Creation/Inuzuka
weatherProof=1
Click()
usr.Clan = "Inuzuka"
usr.contents += new /obj/inventory/Kibasoutfit
usr.Start()

turf/Creation/Nara
weatherProof=1
Click()
usr.Clan = "Nara"
usr.contents += new /obj/inventory/naaraoutfit
usr.Start()

turf/Creation/Aburame
weatherProof=1
Click()
usr.Clan = "Aburame"
usr.contents += new /obj/inventory/shinosoutfit
usr.Start()


turf/Creation/NonClan
weatherProof=1
Click()
usr.Clan = "Non Clan"
usr.contents += new /obj/inventory/leeoutfit
usr.Start()



mob/proc/Names()
start
var/N = input("Pick a name for your character","Character Name?") as null|text
if(N)
if(global.names.Find(N))
src<<"That name has been already taken by another player!"
goto start
else if(findtext(N,"(NPC)")){src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"\"")){src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"@")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,".")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"\\")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"/")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"!")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"#")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"$")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"%")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"^")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"&")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"*")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"(")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,")")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"-")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"+")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"=")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"|")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"{")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"}")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,";")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,":")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"?")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"0")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"1")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"2")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"3")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"4")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"5")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"6")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"7")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"8")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"9")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"®")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"©")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Naruto")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Sasuke")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Iruka")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Gaara")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Itachi")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Kisame")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Obito")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(findtext(N,"Kakashi")) {src<<"Illegal characters found! Choose another name!";goto start}
else if(lentext(N) > 20)
src <<"Name too long."
goto start
else if(lentext(N) < 2)
src <<"Name too short."
goto start
if(lentext(N) < 21)
src.name="[html_encode(N)]"
names.Add(src.name)
if(GLOBAL_ADMINS.Find(src.key)) return
else text2file("<p> Created on: [time2text(world.realtime, "Day, Month DD, YYYY \[hh:mm:ss\]")] || Key: [src.key] || Name: [src.name] || IP: [src.client.address] <p> ","world/Info.html")

<dm>
In response to Supper yugi
.> .. I can't believe I looked through that but I couldn't find the line. You use that method with the line with the clan or character or whatever the hell it is.

-Exophus
In response to Exophus
Carved: 'file name with spaces like this.dmi' does actually work...atleast, it does to me...


Yugi: I am just guessing this but i looks like the code you use was made from someone else ... and high chances are you ripped it. I apologise if I am wrong, but with the questions you asked and how the codes you posted.... anyways, also don't double post ([link]), especially if the answer was told to you by Exophus...

'Where do I put this line'? Where else, in the section of the code you showed us...

- GhostAnime


PS: If you did ripped, do yourself and us a favour. Stop coding that (and delete it unless you _love_ it so much), start reading the DM guide, demos (as references as to what certain effects you can make), Developer FAQ (poor abused and unused Bwiki), and start making SMALLER projects... like me and space race...heh <3


And the problem is fairly obvious, especially if you actually READ the error and look up the proc in F1... alert() only allows upto 3 arguments... I believe input lists shows upto 50
In response to Supper yugi
please can somone tell me why it didn't work it didn't have any errors but when you get to the part to chosse it and you choose your person your icon is just regular and not the one you picked