ID:140215
 
Code:


Problem description:

mob/verb
WatchArena()
set name = "Watch Arena"

if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."
else
usr.client.perspective=EYE_PERSPECTIVE
usr.client.eye=locate(74,12,18)
usr.client.view=21
usr.arenawatching=1
usr.PK=0
usr << "You are watching the arena now."

i get undefined var 3 times for all the arenawatching o.o help plz
Have you defined them?

mob/var/arenawatching
In response to Blafblabla
you mean like mob/verb? if so yes, i tried your way just made e get 584 errors.

 mob/verb
WatchArena()
set name = "Watch Arena"

if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."
else
usr.client.perspective=EYE_PERSPECTIVE
usr.client.eye=locate(74,12,18)
usr.client.view=21
usr.arenawatching=1
usr.PK=0
usr << "You are watching the arena now."


I changed it your way to
 mob/var/arenawatching
WatchArena()
set name = "Watch Arena"

if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."
else
usr.client.perspective=EYE_PERSPECTIVE
usr.client.eye=locate(74,12,18)
usr.client.view=21
usr.arenawatching=1
usr.PK=0
usr << "You are watching the arena now."
In response to Buck1995
Okay, instead of ripping and having blatantly no clue about DM, we all kindly suggest you read the DM Guide and some helpful Articles.
In response to Buck1995
You should read the The Guide before you try doing something like that.(I presume you don't even know how to define a variable properly.)

mob/var/arenawatch

mob/verb/Watch_Arena()


That is very basic. It makes me think you haven't read anything.
In response to Blafblabla
can you guys help me with just one more thing?
my problem is i dont want it to say in who everyone i make GM is owner....i just want it to say whos co-owner enforcer owner ect.i tried many things and none seemed to work

 mob/verb/Who()

var/tmp/C = 0
for(var/mob/M in world)
if(M.client)
C += 1
usr << "<font size=1><b><font color=silver>[M.name]: <font color=green>(Key: [M.key]) Rank:[M.rank] Clan: [M.Clan] Village: [M.Village] AFK:[AFK? "Yes" : "No"] [C]"
if(M.GM)
usr << "<font size=1><b><font color=yellow>[M.name] (Key: [M.key]) (Owner)"
usr << "<font size=1>[C] Players Online!"


also wat u gav me for the other coding still aint work and i dont rip -_- i just dont understand o.o
mob/var/arenawatch
mob/verb/Watch_Arena()
set name = "Watch Arena"

if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."
else
usr.client.perspective=EYE_PERSPECTIVE
usr.client.eye=locate(74,12,18)
usr.client.view=21
usr.arenawatching=1
usr.PK=0
usr << "You are watching the arena now."

i hav it in verbs btw
In response to Buck1995
Buck1995 wrote:
can you guys help me with just one more thing?
my problem is i dont want it to say in who everyone i make GM is owner....i just want it to say whos co-owner enforcer owner ect.i tried many things and none seemed to work

 mob/verb/Who()
>
> var/tmp/C = 0
> for(var/mob/M in world)
> if(M.client)
> C += 1
> usr << "<font size=1><b><font color=silver>[M.name]: <font color=green>(Key: [M.key]) Rank:[M.rank] Clan: [M.Clan] Village: [M.Village] AFK:[AFK? "Yes" : "No"] [C]"
> if(M.GM)
> usr << "<font size=1><b><font color=yellow>[M.name] (Key: [M.key]) (Owner)"
> usr << "<font size=1>[C] Players Online!"
>

also wat u gav me for the other coding still aint work and i dont rip -_- i just dont understand o.o
mob/var/arenawatch
> mob/verb/Watch_Arena()
> set name = "Watch Arena"
>
> if(usr.arenawatching==1)
> usr.client.perspective=MOB_PERSPECTIVE
> usr.client.eye=usr
> usr.client.view=6
> usr.arenawatching=0
> usr.PK=1
> if(istype(usr.loc,/turf/NONPK))
> usr.PK=0
> usr << "You are not watching the arena anymore."
> else
> usr.client.perspective=EYE_PERSPECTIVE
> usr.client.eye=locate(74,12,18)
> usr.client.view=21
> usr.arenawatching=1
> usr.PK=0
> usr << "You are watching the arena now."

i hav it in verbs btw
Please speak with proper punctuation and grammar.
mob/var/arenawatching
mob/var/PK

mob/verb/Watch_Arena()
set name = "Watch Arena"
if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."
else
usr.client.perspective=EYE_PERSPECTIVE
usr.client.eye=locate(74,12,18)
usr.client.view=21
usr.arenawatching=1
usr.PK=0
usr << "You are watching the arena now."

Works if you have the turf PK defined.(Well, I can't test because I don't have your map.)
turf/PK
icon = 'PK.dmi'// Or whatever


And as for the Who(), you need to define the variables.
mob/var/AFK // You will want to tidy up the variable definitions a bit.
mob/var/rank = "Commander"
mob/var/Clan = "Easter Bunny's"
mob/var/Village = "Easter Bunny's Village"
#define MASTER_KEY "Buck1995" // Basic stuff....

mob/GM
key = MASTER_KEY

mob/verb/Who()

var/tmp/C = 0
for(var/mob/M in world)
if(M.client)
C += 1
usr << "<font size=1><b><font color=silver>[M.name]: <font color=green>(Key: [M.key]) Rank:[M.rank] Clan: [M.Clan] Village: [M.Village] AFK:[AFK? "Yes" : "No"] [C]"
if(key == MASTER_KEY) // if(M.GM) changed to if(key == MASTER_KEY). It will display both as a player and a GM if you're key is Buck1995.
usr << "<font size=1><b><font color=yellow>[M.name] (Key: [M.key]) (Owner)"
usr << "<font size=1>[C] Players Online!"

It will only tell you who you are. Now I suggest you read the guide to actually know how this works....
In response to Blafblabla
Ok i read the guide and changed the coding a bit...Also i fixed your Watch Arena a bit and added stop Watching...Also used little bit of coding for GM who this is what i got.
Gm Who:
mob/verb/Who()

var/tmp/C = 0
for(var/mob/M in world)
if(M.client)
C += 1
usr << "<font size=1><b><font color=silver>[M.name]: <font color=green>(Key: [M.key]) Rank:[M.rank] Clan: [M.Clan] Village: [M.Village] AFK:[AFK? "Yes" : "No"] [C]"
if(key == "Buck1995") // if(M.GM) changed to if(key == Buck1995). It will display both as a player and a GM if you're key is Buck1995.
usr << "<font size=1><b><font color=yellow>[M.name] (Key: [M.key]) (Owner)"


Watch Arena:
mob/var/arenawatching

mob/verb/Watch_Arena()
set name = "Watch Arena"
if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."
else
usr.client.perspective=EYE_PERSPECTIVE
usr.client.eye=locate(50,53,13)
usr.client.view=21
usr.arenawatching=1
usr.PK=0
usr << "You are watching the arena now."

mob/var/stopwatching

mob/verb/StopWatching()
set name = "StopWatching"
if(usr.arenawatching==1)
usr.client.perspective=MOB_PERSPECTIVE
usr.client.eye=usr
usr.client.view=6
usr.arenawatching=0
usr.PK=1
if(istype(usr.loc,/turf/NONPK))
usr.PK=0
usr << "You are not watching the arena anymore."

Thanks Alot Blafblabla You Really Helped As The Other Person Can See I Know What Im Doing -.-
In response to Buck1995
Buck1995 wrote:
Ok i read the guide and changed the coding a bit...Also i fixed your Watch Arena a bit and added stop Watching...Also used little bit of coding for GM who this is what i got.
Gm Who:
mob/verb/Who()
>
> var/tmp/C = 0
> for(var/mob/M in world)
> if(M.client)
> C += 1
> usr << "<font size=1><b><font color=silver>[M.name]: <font color=green>(Key: [M.key]) Rank:[M.rank] Clan: [M.Clan] Village: [M.Village] AFK:[AFK? "Yes" : "No"] [C]" // This will not work. The one I had worked exactly like your code said it should.
> if(key == "Buck1995") // if(M.GM) changed to if(key == Buck1995). It will display both as a player and a GM if you're key is Buck1995.
> usr << "<font size=1><b><font color=yellow>[M.name] (Key: [M.key]) (Owner)"

Watch Arena:
mob/var/arenawatching
>
> mob/verb/Watch_Arena()
> set name = "Watch Arena"
> if(usr.arenawatching==1)
> usr.client.perspective=MOB_PERSPECTIVE
> usr.client.eye=usr
> usr.client.view=6
> usr.arenawatching=0
> usr.PK=1
> if(istype(usr.loc,/turf/NONPK))
> usr.PK=0
> usr << "You are not watching the arena anymore."
> else
> usr.client.perspective=EYE_PERSPECTIVE
> usr.client.eye=locate(50,53,13)
> usr.client.view=21
> usr.arenawatching=1
> usr.PK=0
> usr << "You are watching the arena now."
>
> mob/var/stopwatching
>
> mob/verb/StopWatching()
> set name = "StopWatching"
> if(usr.arenawatching==1)
> usr.client.perspective=MOB_PERSPECTIVE
> usr.client.eye=usr
> usr.client.view=6
> usr.arenawatching=0
> usr.PK=1
> if(istype(usr.loc,/turf/NONPK))
> usr.PK=0
> usr << "You are not watching the arena anymore."

Thanks Alot Blafblabla You Really Helped As The Other Person Can See I Know What Im Doing -.-

No problem Buck1995, just that when you are posting something that you say works, make sure it works. That wouldn't work because you didn't have my full code in your example. And anyway, the Watch Arena verb was working properly. You have exactly what I put.
In response to Blafblabla
Blafblabla wrote:
No problem Buck1995, just that when you are posting something that you say works, make sure it works.

Suggesting you take your own advice, here. The horrible post formatting here is making it impossible for me to actually figure out what is actually being discussed, but I can say that what has been posted by you is wrong to some degree or another.
In response to Emasym
Yes sorry about that it wasnt fixed had to change it now i know for certain its fixed and i read the DM guide i know how to define a var now thank you...mob/var and under write what you need to define....Also im working on a sub clan but coding seems fine when i test it out it says for sub clan if i choose hyuuga it will say are you sure you want to choose uzumaki the coding seems fine....
mob/var
hairselected=0
villageselected=0
baseselected=0
turf/Villageselect
density=1
Click()
usr.Village=""
usr.leafS=0
usr.mistS=0
usr.soundS=0
usr.earthS=0
usr.sandS=0
usr.snowS=0
usr.rainS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=0
alert("Remember that each village has their own unique Jutsus.")
switch(input("Which Village would you like to be born in?", text) in list ("Leaf","Sand","Sound","Grass","Rain","Cloud","Mist","Rock","Waterfall","Snow"))
if("Leaf")
usr.leafS=1
usr.mistS=0
usr.soundS=0
usr.earthS=0
usr.sandS=0
usr.rainS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Leaf"
usr.waterfallS=0
if("Sand")
usr.leafS=0
usr.mistS=0
usr.sandS=1
usr.soundS=0
usr.earthS=0
usr.waterfallS=0
usr.rainS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Sand"
if("Sound")
usr.leafS=0
usr.mistS=0
usr.sandS=0
usr.soundS=1
usr.earthS=0
usr.waterfallS=0
usr.rainS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Sound"
if("Rain")
usr.leafS=0
usr.mistS=0
usr.soundS=0
usr.sandS=0
usr.earthS=0
usr.rainS=1
usr.waterfallS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Rain"
if("Grass")
usr.leafS=0
usr.mistS=0
usr.soundS=0
usr.earthS=0
usr.sandS=0
usr.waterfallS=0
usr.rainS=0
usr.grassS=1
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Grass"
if("Rock")
usr.leafS=0
usr.mistS=0
usr.soundS=0
usr.sandS=0
usr.earthS=1
usr.rainS=0
usr.waterfallS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Rock"
if("Cloud")
usr.leafS=0
usr.mistS=0
usr.soundS=0
usr.earthS=0
usr.sandS=0
usr.rainS=0
usr.waterfallS=0
usr.grassS=0
usr.lightningS=1
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Cloud"
if("Mist")
usr.leafS=0
usr.mistS=1
usr.sandS=0
usr.soundS=0
usr.earthS=0
usr.rainS=0
usr.grassS=0
usr.waterfallS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Mist"
if("Waterfall")
usr.leafS=0
usr.mistS=0
usr.waterfallS=1
usr.sandS=0
usr.soundS=0
usr.earthS=0
usr.rainS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=0
usr.missingS=0
usr.villageselected=1
usr.Village="Waterfall"
if("Snow")
usr.leafS=0
usr.mistS=0
usr.waterfallS=0
usr.sandS=0
usr.snowS=1
usr.soundS=0
usr.earthS=0
usr.rainS=0
usr.grassS=0
usr.lightningS=0
usr.snowS=1
usr.missingS=0
usr.villageselected=1
usr.Village="Snow"
if(usr.clany)
alert("Now Pick a SubClan. Dont Pick the Same You Just Picked!")
switch(input("What SubClan Would you like??", text) in list ("Uzumaki","TenTen","Lee","Gaara","Kabuto Medic","Bee Clan","Uchiha","Kaguya","Hyuuga","Akimichi","Aburame","Inuzuka","Shikamaru Nara","Haku"))
switch(input("Are you sure you would like to be Uzumaki?", "Uzumaki") in list ("No","No","Yes","No","No"))
if("Yes")
usr.clany = 1
usr<<"You are now a Clone specialist!"
usr.NonClan=0
usr.Realplayer = 1
usr.human = 1
usr.Mclan = "Uzumaki"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Medical=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Kamizuri=0
usr.Tenten=0
usr.Uzumaki=1
usr.CS=0
usr.bit=0
usr.Kyuubi=1
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/SPIDERCLAN
density = 1
Click()
if(usr.clany)
return
switch(input("Are you sure you would like to be Spider Mutant?", "SpiderClan") in list ("No","No","Yes","No","No"))
if("Yes")
usr.clany = 1
usr<<"You are now a creation of Orochimaru's power!"
usr.NonClan=0
usr.Realplayer = 1
usr.human = 0
usr.Spiderclan = 1
usr.Clan = "Spider Mutant"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Medical=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Kamizuri=0
usr.Tenten=0
usr.Uzumaki=1
usr.CS=1
usr.bit=0
usr.Kyuubi=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/TENTEN
density = 1
Click()
if(usr.clany)
return
switch(input("Are you sure you would like to be Tenten?", "Tenten") in list ("No","No","Yes","No","No"))
if("Yes")
usr.clany = 1
usr<<"You are now a Throwing specialist!"
usr.NonClan=0
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Tenten"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Medical=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Kamizuri=0
usr.Uzumaki=0
usr.Tenten=1
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return
turf/LEE
density = 1
Click()
if(usr.clany)
return
switch(input("Are you sure you would like to be Lee?", "Lee") in list ("No","No","Yes","No","No"))
if("Yes")
usr.clany = 1
usr<<"You are now a Taijutsu specialist!"
usr.NonClan=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Lee"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Medical=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Kamizuri=0
usr.Tenten=0
usr.Uzumaki=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return
turf/GAARA
density=1
Click()
if(usr.clany)
return
switch(input("Are you sure you would like to be Gaara?", "Gaara") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You can now manipulate sand!"
usr.Gaaraclan=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Gaara"
usr.Inuzuka=0
usr.Kaguya=0
usr.Medical=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Kamizuri=0
usr.Tenten=0
usr.Uzumaki=0
usr.CS=0
usr.bit=0
usr.Kyuubi=0
usr.Shukkaku=1
var/obj/Gourd/B = new/obj/Gourd
B.loc = usr
usr.loc = locate(94,7,20)
if("No")
usr.clany=0
return
turf/MEDIC
density=1
Click()
if(usr.clany)
return
switch(input("Are you sure you would like to be a Medic?", "Medic") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You are now a Medical jutsu specialist!"
usr.NonClan=0
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Medical"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.Medical=1
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Kamizuri=0
usr.Tenten=0
usr.Uzumaki=0
usr.loc = locate(94,7,20)
if("No")
usr.clany=0
return

turf/KAMIZURI
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Kamizuri?", "Kamizuri") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Kamizuri clan"
usr.Kamizuri= 1
usr.Aburame=0
usr.Realplayer = 1
usr.Konchuu = 10
usr.human = 1
usr.Clan ="Kamizuri"
usr.Haku = 0
usr.Akimichi=0
usr.Inuzuka=0
usr.chosen = 1
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Tenten=0
usr.Uzumaki=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return
turf/UCHIHA
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Uchiha?", "Uchiha") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Uchiha clan!"
usr.Uchiha=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Uchiha"
usr.Inuzuka=0
usr.chosen = 1
usr.Gaaraclan=0
usr.Kaguya=0
usr.Hyuuga=0
usr.Kamizuri=0
usr.Nara=0
usr.NonClan=0
usr.Aburame=0
usr.Akimichi = 0
usr.Tenten=0
usr.Uzumaki=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return
turf/choosescreen
icon = 'Logingscreen.bmp'
density = 1

turf/KAGUYA

density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Kaguya?", "Kaguya") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Kaguya clan!"
usr.Kaguya=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Kaguya"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.chosen = 1
usr.Hyuuga=0
usr.Kamizuri=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Tenten=0
usr.Uzumaki=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return



turf/Hyuuga
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Hyuuga?", "Hyuuga") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Hyuuga clan!"
usr.Hyuuga=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Hyuuga"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.chosen = 1
usr.Nara=0
usr.Kamizuri=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Tenten=0
usr.Uzumaki=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return
mob/var
chosen=0
turf/Lee
density = 1

Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Lee Non-Clan?", "Lee") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Rock Lee Non-Clan!"
usr.NonClan=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Non-Clan"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kaguya=0
usr.Uzumaki=0
usr.Hyuuga=0
usr.chosen = 1
usr.Nara=0
usr.Kamizuri=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Tenten=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/Akimichi
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Akimichi?", "Akimichi") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Akimichi clan!"
usr.Akimichi=1
usr.Realplayer = 1
usr.human = 1
usr.Clan = "Akimichi"
usr.Inuzuka=0
usr.Gaaraclan=0
usr.chosen = 1
usr.Kaguya=0
usr.Uzumaki=0
usr.Hyuuga=0
usr.Kamizuri=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Tenten=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/Aburame
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Aburame?", "Aburame") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Aburame clan"
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.chosen = 1
usr.Gaaraclan=0
usr.Kaguya=0
usr.Uzumaki=0
usr.Kamizuri=0
usr.Hyuuga=0
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Tenten=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/Inuzuka
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Inuzuka?", "Inuzuka") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Inuzuka clan!"
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.chosen = 1
usr.Kamizuri=0
usr.Uchiha=0
usr.Uzumaki=0
usr.Aburame=0
usr.Akimichi = 0
usr.Tenten=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/Nara
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Nara?", "Nara") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You have chosen the Nara clan!"
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.chosen = 1
usr.Kamizuri=0
usr.Uzumaki=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Akimichi = 0
usr.Tenten=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

turf/Haku
density = 1
Click()
if(usr.clany)
return
usr.clany = 1
switch(input("Are you sure you would like to be Haku?", "Haku") in list ("No","No","Yes","No","No"))
if("Yes")
usr<<"You now have inherited the bloodline of Haku!"
usr.Haku=1
usr.Realplayer = 1
usr.human = 1
usr.Mclan = "Haku"
usr.Akimichi=0
usr.Uzumaki=0
usr.Inuzuka=0
usr.Gaaraclan=0
usr.Kamizuri=0
usr.Kaguya=0
usr.Hyuuga=0
usr.chosen = 1
usr.Nara=0
usr.NonClan=0
usr.Uchiha=0
usr.Aburame=0
usr.Tenten=0
usr.loc = locate(94,7,20)
if("No")
usr.clany = 0
return

In response to Buck1995
Dat code es moor likely 2 give you lag
In response to Rayne25
ok can you give me a better coding?
In response to Buck1995
You should set all the vars as 0 and remove all the unnecessary coding such as usr.Naruto=0 and usr.Sasuke=0.
That's all the extra work unless if you were copying and pasting.

In response to Rayne25
nope i have fixed it like 12 hours ago XD. i changed it from the origial code..