1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
addhook("parse","sc.parse")
function rbow.parse(cmd)
local parses = string.split(cmd)
local cm = tostring(parses[1])
local id = tonumber(parses[2])
if (cm=="sc_give_lvl") then
local cm2 = tonumber(parses[3])
if (id ~= nil and cm2 ~= nil) then
sc2d.level[id]=sc2d.level[id]+cm2
msg2(id,"©000255000Admin Give you "..cm2.." Level!@C")
print(cm.." "..id.." "..cm2)
level(id)
return 1
else
print("©255000000 You Forgot id or amount of level!")
return 1
end
end
if (cm=="sc_give_exp") then
local cm2 = tonumber(parses[3])
if (id ~= nil and cm2 ~= nil) then
sc2d.exp[id]=sc2d.exp[id]+cm2
msg2(id,"©000255000Admin Give you "..cm2.." Exp!@C")
print(cm.." "..id.." "..cm2)
level(id)
return 1
else
print("©255000000 You Forgot id or amount of Exp!")
return 1
end
end
return 0
end