PDA

View Full Version : Share Lại Script Sứ Giả Môn Phái



jxnoob
23-04-10, 12:57 PM
Script:Su Gia Mon Phai
Edit By:JxNoob
Nguồn:CLBgamsvn.com or CBgame.info

Include("\\Script\\Global\\Serverlib.lua");
function main(sel)
SayEx({"<color=red>Su Gia Mon Phai<color>: Nguoi Da Lever 90 Muon Gia Nhap Phai Nao ?","ThieuLam/tl","ThienVuong/tv","DuongMon/dm","NguDoc/doc","NgaMi/nm","ThuyYen/ty","CaiBang/cb","ThienNhan/tn","VoDang/vd","ConLon/cl","Chua Den Lever 90/oncancel"});
end;
function tl()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thieulam") then
AddMagic(14,ask)
AddMagic(10,ask)
AddMagic(8,ask)
AddMagic(4,ask)
AddMagic(6,ask)
AddMagic(15,ask)
AddMagic(16,ask)
AddMagic(20,ask)
AddMagic(218,ask)
AddMagic(217,ask)
AddMagic(19,ask)
AddMagic(21,ask)
AddMagic(273,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thieu Lam!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thieulam") then
AddMagic(14,0)
AddMagic(10,0)
AddMagic(8,0)
AddMagic(4,0)
AddMagic(6,0)
AddMagic(15,0)
AddMagic(16,0)
AddMagic(20,0)
AddMagic(218,0)
AddMagic(217,0)
AddMagic(19,0)
AddMagic(21,0)
AddMagic(273,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thieu Lam");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function tv()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thienvuong") then
AddMagic(34,ask)
AddMagic(219,ask)
AddMagic(242,ask)
AddMagic(24,ask)
AddMagic(23,ask)
AddMagic(26,ask)
AddMagic(33,ask)
AddMagic(37,ask)
AddMagic(35,ask)
AddMagic(30,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Vuong!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thienvuong") then
AddMagic(34,0)
AddMagic(219,0)
AddMagic(242,0)
AddMagic(24,0)
AddMagic(23,0)
AddMagic(26,0)
AddMagic(33,0)
AddMagic(37,0)
AddMagic(35,0)
AddMagic(30,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Vuong");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function dm()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "duongmon") then
AddMagic(45,ask)
AddMagic(347,ask)
AddMagic(43,ask)
AddMagic(303,ask)
AddMagic(50,ask)
AddMagic(47,ask)
AddMagic(54,ask)
AddMagic(343,ask)
AddMagic(345,ask)
AddMagic(349,ask)
AddMagic(249,ask)
AddMagic(341,ask)
AddMagic(58,ask)
AddMagic(48,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Duong Mon!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "duongmon") then
AddMagic(45,0)
AddMagic(347,0)
AddMagic(43,0)
AddMagic(303,0)
AddMagic(50,0)
AddMagic(47,0)
AddMagic(54,0)
AddMagic(343,0)
AddMagic(345,0)
AddMagic(349,0)
AddMagic(249,0)
AddMagic(341,0)
AddMagic(58,0)
AddMagic(48,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Vuong");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function doc()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "ngudoc") then
AddMagic(63,ask)
AddMagic(65,ask)
AddMagic(62,ask)
AddMagic(60,ask)
AddMagic(67,ask)
AddMagic(70,ask)
AddMagic(66,ask)
AddMagic(68,ask)
AddMagic(384,ask)
AddMagic(64,ask)
AddMagic(69,ask)
AddMagic(356,ask)
AddMagic(73,ask)
AddMagic(72,ask)
AddMagic(71,ask)
AddMagic(74,ask)
AddMagic(75,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Ngu Doc!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "ngudoc") then
AddMagic(63,0)
AddMagic(65,0)
AddMagic(62,0)
AddMagic(60,0)
AddMagic(67,0)
AddMagic(70,0)
AddMagic(66,0)
AddMagic(68,0)
AddMagic(384,0)
AddMagic(64,0)
AddMagic(69,0)
AddMagic(356,0)
AddMagic(73,0)
AddMagic(72,0)
AddMagic(71,0)
AddMagic(74,0)
AddMagic(75,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Ngu Doc");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function nm()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "ngami") then
AddMagic(85,ask)
AddMagic(80,ask)
AddMagic(77,ask)
AddMagic(79,ask)
AddMagic(93,ask)
AddMagic(385,ask)
AddMagic(82,ask)
AddMagic(86,ask)
AddMagic(92,ask)
AddMagic(88,ask)
AddMagic(91,ask)
AddMagic(282,ask)
AddMagic(252,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Nga Mi!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "ngami") then
AddMagic(85,0)
AddMagic(80,0)
AddMagic(77,0)
AddMagic(79,0)
AddMagic(93,0)
AddMagic(385,0)
AddMagic(82,0)
AddMagic(86,0)
AddMagic(92,0)
AddMagic(88,0)
AddMagic(91,0)
AddMagic(282,0)
AddMagic(252,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Nga Mi");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function ty()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thuyyen") then
AddMagic(99,ask)
AddMagic(102,ask)
AddMagic(95,ask)
AddMagic(97,ask)
AddMagic(269,ask
AddMagic(105,ask)
AddMagic(113,ask)
AddMagic(100,ask)
AddMagic(109,ask)
AddMagic(108,ask)
AddMagic(111,ask)
AddMagic(114,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thuy Yen!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thuyyen") then
AddMagic(99,0)
AddMagic(102,0)
AddMagic(95,0)
AddMagic(97,0)
AddMagic(269,0)
AddMagic(105,0)
AddMagic(113,0)
AddMagic(100,0)
AddMagic(109,0)
AddMagic(108,0)
AddMagic(111,0)
AddMagic(114,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thuy Yen!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function cb()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "caibang") then
AddMagic(122,ask)
AddMagic(119,ask)
AddMagic(116,ask)
AddMagic(115,ask)
AddMagic(129,ask)
AddMagic(274,ask)
AddMagic(124,ask)
AddMagic(277,ask)
AddMagic(283,ask)
AddMagic(125,ask)
AddMagic(360,ask)
AddMagic(130,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Cai Bang!") then
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "caibang") then
AddMagic(122,0)
AddMagic(119,0)
AddMagic(116,0)
AddMagic(115,0)
AddMagic(129,0)
AddMagic(274,0)
AddMagic(124,0)
AddMagic(277,0)
AddMagic(283,0)
AddMagic(125,0)
AddMagic(360,0)
AddMagic(130,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Cai Bang!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function tn()
lv = Getlevel()
ask = (lv -89)
if (GetLevel() >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thiennhan") then
AddMagic(135,ask)
AddMagic(145,ask)
AddMagic(132,ask)
AddMagic(131,ask)
AddMagic(136,ask)
AddMagic(137,ask)
AddMagic(141,ask)
AddMagic(138,ask)
AddMagic(140,ask)
AddMagic(364,ask)
AddMagic(143,ask)
AddMagic(142,ask)
AddMagic(148,ask)
AddMagic(150,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Nhan!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thiennhan") then
AddMagic(135,0)
AddMagic(145,0)
AddMagic(132,0)
AddMagic(131,0)
AddMagic(136,0)
AddMagic(137,0)
AddMagic(141,0)
AddMagic(138,0)
AddMagic(140,0)
AddMagic(364,0)
AddMagic(143,0)
AddMagic(142,0)
AddMagic(148,0)
AddMagic(150,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Nhan!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function vd()
lv = Getlevel()
ask = (lv -89)
if (GetLevel() >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "vodang") then
AddMagic(153,ask)
AddMagic(155,ask)
AddMagic(152,ask)
AddMagic(151,ask)
AddMagic(159,ask)
AddMagic(164,ask)
AddMagic(158,ask)
AddMagic(168,ask)
AddMagic(157,ask)
AddMagic(165,ask)
AddMagic(267,ask)
AddMagic(166,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Vo Dang!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "vodang") then
AddMagic(153,0)
AddMagic(155,0)
AddMagic(152,0)
AddMagic(151,0)
AddMagic(159,0)
AddMagic(164,0)
AddMagic(158,0)
AddMagic(168,0)
AddMagic(157,0)
AddMagic(165,0)
AddMagic(267,0)
AddMagic(166,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Vo Dang!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function cl()
lv = Getlevel()
ask = (lv -89)
if (GetLevel() >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "conlon") then
AddMagic(168,ask)
AddMagic(179,ask)
AddMagic(167,ask)
AddMagic(168,ask)
AddMagic(392,ask)
AddMagic(171,ask)
AddMagic(174,ask)
AddMagic(178,ask)
AddMagic(172,ask)
AddMagic(393,ask)
AddMagic(173,ask)
AddMagic(175,ask)
AddMagic(181,ask)
AddMagic(176,ask)
AddMagic(90,ask)
AddMagic(182,ask)
AddMagic(257,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Con Lon!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
AddMagic(168,0)
AddMagic(179,0)
AddMagic(167,0)
AddMagic(168,0)
AddMagic(392,0)
AddMagic(171,0)
AddMagic(174,0)
AddMagic(178,0)
AddMagic(172,0)
AddMagic(393,0)
AddMagic(173,0)
AddMagic(175,0)
AddMagic(181,0)
AddMagic(176,0)
AddMagic(90,0)
AddMagic(182,0)
AddMagic(257,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Con Lon!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function oncancel()
talk("Khi Nao Dat Cap 90 Hay Den Gap Ta")
end;

ohishu
04-05-10, 08:52 AM
Include("\\Script\\Global\\Serverlib.lua");
function main(sel)
SayEx({"<color=red>Su Gia Mon Phai<color>: Nguoi Da Lever 90 Muon Gia Nhap Phai Nao ?","ThieuLam/tl","ThienVuong/tv","DuongMon/dm","NguDoc/doc","NgaMi/nm","ThuyYen/ty","CaiBang/cb","ThienNhan/tn","VoDang/vd","ConLon/cl","Chua Den Lever 90/oncancel"});
end;
function tl()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thieulam") then
AddMagic(14,ask)
AddMagic(10,ask)
AddMagic(8,ask)
AddMagic(4,ask)
AddMagic(6,ask)
AddMagic(15,ask)
AddMagic(16,ask)
AddMagic(20,ask)
AddMagic(218,ask)
AddMagic(217,ask)
AddMagic(19,ask)
AddMagic(21,ask)
AddMagic(273,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thieu Lam!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thieulam") then
AddMagic(14,0)
AddMagic(10,0)
AddMagic(8,0)
AddMagic(4,0)
AddMagic(6,0)
AddMagic(15,0)
AddMagic(16,0)
AddMagic(20,0)
AddMagic(218,0)
AddMagic(217,0)
AddMagic(19,0)
AddMagic(21,0)
AddMagic(273,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thieu Lam");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function tv()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thienvuong") then
AddMagic(34,ask)
AddMagic(219,ask)
AddMagic(242,ask)
AddMagic(24,ask)
AddMagic(23,ask)
AddMagic(26,ask)
AddMagic(33,ask)
AddMagic(37,ask)
AddMagic(35,ask)
AddMagic(30,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Vuong!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thienvuong") then
AddMagic(34,0)
AddMagic(219,0)
AddMagic(242,0)
AddMagic(24,0)
AddMagic(23,0)
AddMagic(26,0)
AddMagic(33,0)
AddMagic(37,0)
AddMagic(35,0)
AddMagic(30,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Vuong");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function dm()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "duongmon") then
AddMagic(45,ask)
AddMagic(347,ask)
AddMagic(43,ask)
AddMagic(303,ask)
AddMagic(50,ask)
AddMagic(47,ask)
AddMagic(54,ask)
AddMagic(343,ask)
AddMagic(345,ask)
AddMagic(349,ask)
AddMagic(249,ask)
AddMagic(341,ask)
AddMagic(58,ask)
AddMagic(48,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Duong Mon!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "duongmon") then
AddMagic(45,0)
AddMagic(347,0)
AddMagic(43,0)
AddMagic(303,0)
AddMagic(50,0)
AddMagic(47,0)
AddMagic(54,0)
AddMagic(343,0)
AddMagic(345,0)
AddMagic(349,0)
AddMagic(249,0)
AddMagic(341,0)
AddMagic(58,0)
AddMagic(48,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Vuong");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function doc()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "ngudoc") then
AddMagic(63,ask)
AddMagic(65,ask)
AddMagic(62,ask)
AddMagic(60,ask)
AddMagic(67,ask)
AddMagic(70,ask)
AddMagic(66,ask)
AddMagic(68,ask)
AddMagic(384,ask)
AddMagic(64,ask)
AddMagic(69,ask)
AddMagic(356,ask)
AddMagic(73,ask)
AddMagic(72,ask)
AddMagic(71,ask)
AddMagic(74,ask)
AddMagic(75,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Ngu Doc!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "ngudoc") then
AddMagic(63,0)
AddMagic(65,0)
AddMagic(62,0)
AddMagic(60,0)
AddMagic(67,0)
AddMagic(70,0)
AddMagic(66,0)
AddMagic(68,0)
AddMagic(384,0)
AddMagic(64,0)
AddMagic(69,0)
AddMagic(356,0)
AddMagic(73,0)
AddMagic(72,0)
AddMagic(71,0)
AddMagic(74,0)
AddMagic(75,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Ngu Doc");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function nm()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "ngami") then
AddMagic(85,ask)
AddMagic(80,ask)
AddMagic(77,ask)
AddMagic(79,ask)
AddMagic(93,ask)
AddMagic(385,ask)
AddMagic(82,ask)
AddMagic(86,ask)
AddMagic(92,ask)
AddMagic(88,ask)
AddMagic(91,ask)
AddMagic(282,ask)
AddMagic(252,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Nga Mi!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "ngami") then
AddMagic(85,0)
AddMagic(80,0)
AddMagic(77,0)
AddMagic(79,0)
AddMagic(93,0)
AddMagic(385,0)
AddMagic(82,0)
AddMagic(86,0)
AddMagic(92,0)
AddMagic(88,0)
AddMagic(91,0)
AddMagic(282,0)
AddMagic(252,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Nga Mi");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function ty()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thuyyen") then
AddMagic(99,ask)
AddMagic(102,ask)
AddMagic(95,ask)
AddMagic(97,ask)
AddMagic(269,ask
AddMagic(105,ask)
AddMagic(113,ask)
AddMagic(100,ask)
AddMagic(109,ask)
AddMagic(108,ask)
AddMagic(111,ask)
AddMagic(114,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thuy Yen!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thuyyen") then
AddMagic(99,0)
AddMagic(102,0)
AddMagic(95,0)
AddMagic(97,0)
AddMagic(269,0)
AddMagic(105,0)
AddMagic(113,0)
AddMagic(100,0)
AddMagic(109,0)
AddMagic(108,0)
AddMagic(111,0)
AddMagic(114,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thuy Yen!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function cb()
lv = GetLevel();
ask = (lv -89);
if (GetLevel >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "caibang") then
AddMagic(122,ask)
AddMagic(119,ask)
AddMagic(116,ask)
AddMagic(115,ask)
AddMagic(129,ask)
AddMagic(274,ask)
AddMagic(124,ask)
AddMagic(277,ask)
AddMagic(283,ask)
AddMagic(125,ask)
AddMagic(360,ask)
AddMagic(130,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Cai Bang!") then
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "caibang") then
AddMagic(122,0)
AddMagic(119,0)
AddMagic(116,0)
AddMagic(115,0)
AddMagic(129,0)
AddMagic(274,0)
AddMagic(124,0)
AddMagic(277,0)
AddMagic(283,0)
AddMagic(125,0)
AddMagic(360,0)
AddMagic(130,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Cai Bang!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function tn()
lv = Getlevel()
ask = (lv -89)
if (GetLevel() >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "thiennhan") then
AddMagic(135,ask)
AddMagic(145,ask)
AddMagic(132,ask)
AddMagic(131,ask)
AddMagic(136,ask)
AddMagic(137,ask)
AddMagic(141,ask)
AddMagic(138,ask)
AddMagic(140,ask)
AddMagic(364,ask)
AddMagic(143,ask)
AddMagic(142,ask)
AddMagic(148,ask)
AddMagic(150,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Nhan!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "thiennhan") then
AddMagic(135,0)
AddMagic(145,0)
AddMagic(132,0)
AddMagic(131,0)
AddMagic(136,0)
AddMagic(137,0)
AddMagic(141,0)
AddMagic(138,0)
AddMagic(140,0)
AddMagic(364,0)
AddMagic(143,0)
AddMagic(142,0)
AddMagic(148,0)
AddMagic(150,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Thien Nhan!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function vd()
lv = Getlevel()
ask = (lv -89)
if (GetLevel() >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "vodang") then
AddMagic(153,ask)
AddMagic(155,ask)
AddMagic(152,ask)
AddMagic(151,ask)
AddMagic(159,ask)
AddMagic(164,ask)
AddMagic(158,ask)
AddMagic(168,ask)
AddMagic(157,ask)
AddMagic(165,ask)
AddMagic(267,ask)
AddMagic(166,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Vo Dang!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
if (GetFaction() ~= "") then
if (GetFaction() == "vodang") then
AddMagic(153,0)
AddMagic(155,0)
AddMagic(152,0)
AddMagic(151,0)
AddMagic(159,0)
AddMagic(164,0)
AddMagic(158,0)
AddMagic(168,0)
AddMagic(157,0)
AddMagic(165,0)
AddMagic(267,0)
AddMagic(166,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Vo Dang!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function cl()
lv = Getlevel()
ask = (lv -89)
if (GetLevel() >=90) then
if (GetFaction() ~= "") then
if (GetFaction() == "conlon") then
AddMagic(168,ask)
AddMagic(179,ask)
AddMagic(167,ask)
AddMagic(168,ask)
AddMagic(392,ask)
AddMagic(171,ask)
AddMagic(174,ask)
AddMagic(178,ask)
AddMagic(172,ask)
AddMagic(393,ask)
AddMagic(173,ask)
AddMagic(175,ask)
AddMagic(181,ask)
AddMagic(176,ask)
AddMagic(90,ask)
AddMagic(182,ask)
AddMagic(257,ask)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Con Lon!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
else
AddMagic(168,0)
AddMagic(179,0)
AddMagic(167,0)
AddMagic(168,0)
AddMagic(392,0)
AddMagic(171,0)
AddMagic(174,0)
AddMagic(178,0)
AddMagic(172,0)
AddMagic(393,0)
AddMagic(173,0)
AddMagic(175,0)
AddMagic(181,0)
AddMagic(176,0)
AddMagic(90,0)
AddMagic(182,0)
AddMagic(257,0)
Msg2Player("Ban Da Hoc Duoc Ky Nang Cua Mon Phai");
talk(1,"","Chao Mung Ban Gia Nhap Con Lon!");
end
else
talk(1,"","Nguoi Khong Thuoc He Phai Nay");
end
end;
function oncancel()
talk("Khi Nao Dat Cap 90 Hay Den Gap Ta")
end;




Viết Như Thế Lại Không Ổn Tí Nào Bạn Ạ ;))
ask = (lv -89);
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

mrluoi1986
09-10-10, 12:04 PM
pro nào chỉnh lại đoạn script trên đi cái, để a e còn sài, thanks bác chủ đã shared đoạn sript đó

sitachi
10-10-10, 06:26 AM
sứ giả môn fái :D cần gì fãi làm vậy ? làm vậy thì bỏ hết NPC môn fái hả ?

tungpro102
17-10-10, 04:58 PM
Ko có facsion :-ss....................................

ThanhVipLn
18-10-10, 10:15 AM
Kệ Nó Đi mà. Nhưng mỗi sv mỗi kiểu share cái này chi mất công