GlobalKiller Posted July 3, 2012 Posted July 3, 2012 Hi there, I play in many pvp servers. I search a script that could invite newbie people to my clan academy. I think script should work this way: get near player list (range maybe ? idk) check if they lvl if it is below 40 then invite to academy if its not check other players but its only my mind if u could do it by your own way :} thx and sry for my broken eng :D this may help a lil bit: Friends = {"NickOfBot1","NickOfBot2","NickOfBot3"}; -- enter names of your boots to exclude from list --dont change nothing under this line -------------------------------------------------------------------------------- function round(num, idp) local mult = 10^(idp or 0) return math.floor(num * mult + 0.5) / mult end -------------------------------------------------------------------------------- function CheckIfInsideList(Smsg,Rmsglist) for x,y in pairs(Rmsglist) do if (y == Smsg) then return true; end; end; return false; end; -------------------------------------------------------------------------------- Sleep(1000); ShowToClient(" " , "===================================="); ShowToClient(" " , " NICK CLASS DISTANCE "); i = 1; PlayerList = GetPlayerList(); for user in PlayerList.list do if (CheckIfInsideList(user:GetName(),Friends) == false) then ShowToClient(" "..i , user:GetName() .. " - " .. L2Class2String(user:GetClass()) .. " - Dst: " ..round(tostring(GetMe():GetRangeTo(user)))); i = i+1; end; end; ShowToClient(" " , "===================================="); Sleep(5000);
MrFrog Posted November 20, 2012 Posted November 20, 2012 Any1 have script about remove weapon by dissarm? Auto wear weapon if kamel use dissarm?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now