Begin with
Code:
function get_module_name() return "Auto_Buff" end
Code:
function player_login_auto_buff()
local admina = "???" -- Place the name of your first admin/dev's account
local adminb = "???" -- Place the name of your first admin/dev's account
add_state(164407,500,8640000) -- Halisha +1000
Code:
else
if gv("permission") == 1 then -- GM Buffs
Code:
elseif gv("lv") > 19 and gv("lv") < 50 then -- Rank 2 Buffs (Levels 20-49)
add_state(164407,10,8640000) -- Halisha + 20
elseif gv("lv") > 49 and gv("lv") < 80 then -- Rank 3 Buffs (Levels 50-79)
add_state(164407,15,8640000) -- Halisha + 30
elseif gv("lv") > 79 and gv("lv") < 100 then -- Rank 4 Buffs (Levels 80-99)
add_state(164407,20,8640000) -- Halisha + 40
elseif gv("lv") > 99 and gv("lv") < 120 then -- Rank 5 Buffs (Levels 100-119)
add_state(164407,25,8640000) -- Halisha + 50
elseif gv("lv") > 119 and gv("lv") < 155 then -- Rank 6 Buffs (Levels 120-154)
add_state(164407,30,8640000) -- Halisha + 60
elseif gv("lv") > 154 and gv("lv") < 170 then -- Rank 7 Buffs (Levels 155-169)
add_state(164407,35,8640000) -- Halisha + 70
elseif gv("lv") > 170 then -- Everyone level 170+
add_state(164407,50,8640000) -- Halisha + 100
end
end
end
end
Noticing the haracement and the intimidation done to me by Skype about me using Heaaven's coding lines, I'm sorry to announce that I learnt to do it like that and all resemblance with Heaven's scripts is either coincedence or subconsionce (I have seen his scripts) Noticing that possibiliy and with the request of Heaven I'm adding this:
base By: HeavenOnlyWishes
--
-- Copyright @ 2011. Ningyo Networ







