1. exec(3) LP MudOSv21c7 (7 Jul 1996)
    2. 函数名称:
    3. exec() - 将一个可互动的 (interactive) 玩家 (player)
    4. 物件切换连结 (connection) 到另外一个物件上.
    5. 函数语法:
    6. int exec( object to, object from );
    7. 整数 exec( 物件 to, 物件 from );
    8. 函数用法:
    9. 这个函式允许指定的物件把可互动的连结 (link) 迁移到另
    10. 外一个物件上. 也就是说, 成功地执行 exec( to, from )
    11. 之後, interactive( to ) 会传回 1, interactive( from )
    12. 会传回 0. 而控制 from 的玩家会转移控制权到 to 的身上.
    13. 请注意这个函式的权力非常大, 不当地使用会危及 MUD
    14. 系统安全. 正确地限制使用此函式的方法是另外写一个同名的
    15. 模拟超越函式 (simulated emulated function, simul_efun)
    16. , 并使用 valid_override(4) 来限制此一模拟超越函式的使
    17. 用. (意即 efun::exec() )
    18. exec() 函式在成功地转换之後传回 1, 转换失败则传回 0.
    19. 参考函数:
    20. interactive(3), valid_override(4)
    21. 手册翻译:
    22. Phoebus@ZH 97.Feb.12. (Writen 5/23/97)