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); Quote
MrFrog Posted November 20, 2012 Posted November 20, 2012 Any1 have script about remove weapon by dissarm? Auto wear weapon if kamel use dissarm? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.