​to protect your own script, making it for some players only so no one can give it away but you

first.. you need this module to check the right character every x seconds:
Code:
Module.New('CheckIfAllowed', function(Allow)
    local ListAllowed = {"Lord Zayat", "Wezy"}
        if (table.find(ListAllowed, Self.Name())) then
            print([[Happy Hunting]]) 
            else
            print([[You're NOT ALLOWED To run this script]])
            Cavebot.Stop()
        end
    Allow:Delay(30000, 60000)end)
Second.. you need to prevent anyone from adding his name.. using Hex format of script and loadstring().. all about this here:
http://forums.xenobot.net/showthread...aging-Lua-Code

good luck