ID:801138
 
Code:
mob/var/Name
mob/var/Clan = ""
mob/var/Side = ""
turf
icon='Turf.dmi'
CoverScreen
icon='Cover Screen.dmi'
layer = 999
verb
New_Character()
set src in oview(0)
switch(input("What Side You Which To Be","Side")in list("Hero","Villian"))
if("Hero")
usr.Side = "Hero"
world.SetMedal("Hero",src)
if("Villian")
usr.Side = "Villian"
world.SetMedal("Villian",src)
usr.Name = input("","Name") as text|null
if(length(usr.Name) < 2)
alert("Your name must be longer than 2 letters!")
return
if(length(usr.Name) > 20)
alert("Your name can not be longer then 20 letters!")
return
usr.name="[html_encode(name)]"
world<<"[usr.Name] has joined"
if(usr.Side == "Hero")
usr<<"You wake up in a place with no name"
spawn(30)
usr<<"Hearing you mother calling your name"
sleep(30)
usr<<"Mom: [usr.Name] wake up son wake up"
sleep(30)
usr<<"*crash* you hear loud scream of your people scream and suffer"
sleep(30)
usr<<"Your mother quickly put you in a pod Saying"
sleep(10)
usr<<"Mother:i you become a hero in the next planet"
sleep(30)
usr<<"You were then sent to a planet called Earth"
usr.icon='Mob.dmi'
usr.loc=locate(1,1,2)
if(usr.Side == "Villian")
usr<<"You wake up while in war"
sleep(30)
usr<<"Your people are about to launch a nuculear bomb on the other people"
sleep(30)
usr<<"While you dad drags you to a pod"
sleep(30)
usr<<"Dad: Allways make war my son allways make crimes make things to make your life better"
sleep(30)
usr<<"You wake up in another pod waiting to accomplish your wishes"
usr.icon='Mob.dmi'
usr.loc=locate(1,1,2)
Load_Character()
if(usr.LoadProc(usr))
if(usr.Loggedin == 0)
set src in oview(0)
world<<"[usr.Name] has returned"
usr.LoadProc()
usr.Loggedin = 1
Grass
icon_state="Grass"
PodLand
icon_state="PodLand"
density = 1
verb
Describe()
set src in oview(1)
usr<<"Looks like the ship that you came from...."


Problem description: The verbs aren't working for the top one but i don't know about the bottom

What do i make it a interface one????
Replace "verb" with "Click()".
O Sorry I thought you were trying to do something else, What i think your trying to do it Make it Clickable in the Login Screen, if You Are Trying to do that you need to do it make a turf and use Click() proc and then make those turf/verb's you have up there mob/proc's
In Load_Character(), you need to put the set src in oview(0) at the top of the verb. You cannot modify how that works in an if statement. Secondly, why are you doing usr.LoadProc(usr)? You're already calling the procedure on the user, it's redundant to supply the user as an argument for something that's already being called on it.

Thirdly, you're calling SetMedal() using src, meaning you're awarding the turf a medal and not the player.
Area
News
Click()
New_Character()
switch(input("What Side You Which To Be","Side")in list("Hero","Villian"))
if("Hero")
usr.Side = "Hero"
world.SetMedal("Hero",usr)
if("Villian")
usr.Side = "Villian"
world.SetMedal("Villian",usr)
usr.Name = input("","Name") as text|null
if(length(usr.Name) < 2)
alert("Your name must be longer than 2 letters!")
return
if(length(usr.Name) > 20)
alert("Your name can not be longer then 20 letters!")
return
usr.name="[html_encode(name)]"
world<<"[usr.Name] has joined"
if(usr.Side == "Hero")
usr<<"You wake up in a place with no name"
spawn(30)
usr<<"Hearing you mother calling your name"
sleep(30)
usr<<"Mom: [usr.Name] wake up son wake up"
sleep(30)
usr<<"*crash* you hear loud scream of your people scream and suffer"
sleep(30)
usr<<"Your mother quickly put you in a pod Saying"
sleep(10)
usr<<"Mother:i you become a hero in the next planet"
sleep(30)
usr<<"You were then sent to a planet called Earth"
usr.icon='Mob.dmi'
usr.loc=locate(1,1,2)
if(usr.Side == "Villian")
usr<<"You wake up while in war"
sleep(30)
usr<<"Your people are about to launch a nuculear bomb on the other people"
sleep(30)
usr<<"While you dad drags you to a pod"
sleep(30)
usr<<"Dad: Allways make war my son allways make crimes make things to make your life better"
sleep(30)
usr<<"You wake up in another pod waiting to accomplish your wishes"
usr.icon='Mob.dmi'
usr.loc=locate(1,1,2)

Area.dm:5:error: proc definition not allowed inside another proc

Story.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
I Don't think you can use click like that, try to do what i say in my previous post
To fix that error, first bring the New_Character() proc outside of Click(). Then under Click() call that proc. Finally, "Area" should be "area".
In response to Stoneman (#7)
Hes not making New_Character a proc anywhere
I did a verb but thank you guys i made a var to stop the verb from working when logged in.
...