ID:144065
 
Code:
    Make2ndSwordsman(mob/M in world)
set category = "Swordmans Leader"
world<<"[M] has became Second legendary swordman!"
M.rank = "Second Legendary Swordman"
M.Village = "Swordman hideout"
var/obj/SEVENSWORDSMENSUIT/B = new/obj/SEVENSWORDSMENSUIT
B.loc = M
var/obj/Masamune/B = new/obj/Masamune
B.loc = M


Problem description:OK. I know what is wrong in this code...but my question is how can i make it that when recive rank ppl get 2 items...

You're making things more complicated than they need to be. You don't need to make new variables for your objects. You can instead set their location through arguments with new.

The DM reference for "new proc" arguments mentions the following:

The atom types /area, /turf, /obj, and /mob all take a location argument specifying the initial position. If not specified, it defaults to null.

So just put the location in the arguments like below.
    verb/conjure_fruit()
new /obj/apple(usr)
new /obj/orange(usr)
usr << "Yum, you have fruit!"
In response to Zagreus
THX i didnt know it was so easy :)...