ID:2046543
 
(See the best response by Nadrew.)
Code:
mob/npc
Saitama
icon = 'saitama.dmi'
icon_state = ""
verb
Talk()
if(level >= 151 && rogue == 0)
set src in oview(1)
set category = "Communication"
switch(input("You are ready to pick your destined path, be careful what you pick because it cannot be changed") in list("Power", "Speed", "Defense", "Strength"))
if("Strength")
usr.potential = "Strength"
usr.strength += 150
usr.maxpower -= 10
usr.defense -= 10
usr.speed -= 10
saitamaboost += 1
rogue = 1
usr << "Saitama has changed your destiny!"
if("Power")
usr.potential = "Power"
usr.strength -= 10
usr.maxpower += 150
usr.defense -= 10
usr.speed -= 10
saitamaboost += 1
rogue = 1
usr << "Saitama has changed your destiny!"
if("Defense")
usr.potential = "Defense"
usr.strength -= 10
usr.maxpower -= 10
usr.defense += 150
usr.speed -= 10
saitamaboost += 1
rogue = 1
usr << "Saitama has changed your destiny!"
if("Speed")
usr.potential = "Speed"
usr.strength -= 10
usr.maxpower -= 10
usr.defense -= 10
usr.speed += 150
saitamaboost += 1
rogue = 1
usr << "Saitama has changed your destiny!"
else
usr <<"You are not eligible(come back at 151 if you havent already)!"


Problem description:

You didn't actually say what's wrong.
In response to Nadrew
When the user goes to talk to saitama, saitama doesnt accept this line -
if(level >= 151 && rogue == 0)
to be true. Instead it goes straight to the else
else
usr <<"You are not eligible(come back at 151 if you havent already)!"
I have no idea why

P.S (I typed it out and pressed send and gave me weird errors so I don't know what happened sorry for confusion.)
Best response
You're checking the level of the NPC, not the player. You'd want to use "usr" to access the player's variables. It's also a problem when you set 'rogue' and 'saitamaboost' below as well.