ID:142992
 
Code:
if(src.fused == 1||usr.fused == 1)
src << "You cannot log in fused."
usr << "You cannot log in fused."
Logout(src)
Logout(usr)


Problem description: i need to have it so that if u are fused when u log in, u unfuse. i have a verb that unfuses the two players but i cant put it into action. this is the verb:
Unfuse(mob/M)
set category = "Fighting"
if(usr.fusioncontrol == 1)
usr<<"The fusion was broken."
M<<"The fusion was broken."
M.icon = M.oldicon
M.invisibility = 0
M.density = 1
M.underlays = 0
M.move = 1
M.race = M.oldrace
usr.race = usr.oldrace
M.name = M.oldname
usr.name = usr.oldname
// usr.overlays -= M.overlays
usr.contents = usr.oldcontents
M.contents = M.oldcontents
M.overlays += M.hairover
M.overlays += M.oldoverlays
M.loc=locate(usr.x,usr.y-1,usr.z)
M.follow = null
usr.maxpowerlevel = usr.oldmaxpowerlevel
M.maxpowerlevel = M.oldmaxpowerlevel
usr.strength = usr.oldstrength
M.strength = M.oldstrength
usr.fused = 0
M.fused = 0
M.fusionfollow()


whenever i try to put variables like the M.maxpowerlevel = M.oldmaxpowerlevel under the "you cannot log in fused!" it says its a undefined variable. how can i fix this plz Help!

also if i try
mob/Logout() 
Unfuse(src)
Del(src)


it says unfuse is a undefined procedure

In response to Iraqii
shouldnt it be del src not Del o.o and Unfuse(src) it should be src.Unfuse o.O /i think so im not sure/