ID:150251
 
Any way to have an alias that corresponds to a var?


example:


alias/set_pk(person as text)
usr.target = person

alias/punch()
return "punch [usr.target]"


etc etc


thanks

-Rcet
I don't think I really understand... how about this?
mob/var/target
mob/proc/set_target(mob/M as mob in world)
src.target = M
mob/verb/KillTarget()
del(src.target)
src.target = null
mob/verb/MindSuckTarget()
del(src.target:client)
src.target = null
mob/Click()
usr.set_target(src)
In response to Lord of Water
umm not really :D i need it as an alias. As to send to a MUD. But thanks for trying :)

If anyone else knows, please post :)


-Rcet