ช่วยลงตัวอย่าง  เช่นต้อง  การให้ตัวละครอื่นซิบมาคำพูดหนึ่งๆ แล้วทำให้บอทตัดนี่ต้องทำไงหรองับ รบกวนด้วยงับ
					
					
					
				
				
				
				ซิบแว้วบอทตัดทำไงหรองับ
		 เริ่มโดย souldestiny, May 29 2007 11:15 AM
	
	
	
	
		มี 1 โพสต์ตอบกลับกระทู้นี้
	
		
			
				
					
						
					
					#1
					
					
				
				
				
					
				
			
				
			
			
			โพสต์เมื่อ 29 May 2007 - 11:15:46 AM
			
				
					
						
					
					#2
					
					
				
				
				
					
				
			
				
			
			
			โพสต์เมื่อ 04 June 2007 - 01:11:10 PM
procedure PrivateChat(PlayerName,Msg: String);
begin
if (PlayerName = 'ชื่อเพื่อนที่ซิบมา') then
begin
if (Msg = 'reconnect') then
begin
Reconnect(60*30); // Reconnect ครึ่งชม.
end
else if (Msg = 'disconnect') then
begin
Disconnect; // Disconnect ไปเลย
end;
end;
end;
begin
if (PlayerName = 'ชื่อเพื่อนที่ซิบมา') then
begin
if (Msg = 'reconnect') then
begin
Reconnect(60*30); // Reconnect ครึ่งชม.
end
else if (Msg = 'disconnect') then
begin
Disconnect; // Disconnect ไปเลย
end;
end;
end;
ประมาณนี้ครับ แก้ตรง ชื่อเพื่อนที่ซิบมา กับ 60*30 เป็นเวลาที่จะให้ต่ออีกครั้ง


Works: KoRnBot Project,TSLoadDatFile
Thanks X CroSs, Truebot, TSBot, Solars, JackY, some1, Storm24, AssertionFailed from www.skjune.com





1 สมาชิกกำลังอ่านกระทู้นี้
0 สมาชิก, 1 ผู้เยี่ยมชม, 0 ผู้ใช้งานที่ซ่อนตัว










