umm sesepuh2 boleh minta tolong?
ada yg salah dengan bot ku,dia ga mw input number ke NPC police
<div><div style="background:#B7E5CE;border:1px dotted #000;border-bottom:0;border-left:4px solid #429E6F;color:#000;font-weight:bold;font-size:10px;margin:8px auto 0 auto;padding:3px;">
Spoiler untuk klik: Perlihatkan</div><div style="color:#000;background:#FAFCFE;border:1px dotted #000;border-left:4px solid #429E6F;border-top:0;padding:4px;margin: 0 auto 8px auto;display:none;"><div class='codetop'>NYIT-NYIT CODE</div><div class='codemain' style='height:300px;white-space
re;overflow:auto'>[Mar 12 23:10:00 2009.28] [reactOnNPC] NPC message saved (0): "[^0000FFPolice^000000]".
[Mar 12 23:10:00 2009.30] Received packet: 00B4 Handler: npc_talk
[Mar 12 23:10:00 2009.33] Unknown #110018326: Input this number:
[Mar 12 23:10:00 2009.36] [reactOnNPC] NPC message saved (1): "Input this number:".
[Mar 12 23:10:00 2009.38] Received packet: 00B4 Handler: npc_talk
[Mar 12 23:10:00 2009.41] Unknown #110018326:
wenmqrts wdlpnplhh smbln
[Mar 12 23:10:00 2009.44] [reactOnNPC] NPC message saved (2): "^2E478D^B55556wenmq^6DAF92rts^2CAA9C ^590DC7wdlpn^4D297Dplhh ^35A22Dsmbln^000000".
[Mar 12 23:10:00 2009.46] Received packet: 00B4 Handler: npc_talk
[Mar 12 23:10:00 2009.49] Unknown #110018326:
[Mar 12 23:10:00 2009.52] [reactOnNPC] NPC message saved (3): " ".
[Mar 12 23:10:00 2009.54] Received packet: 00B4 Handler: npc_talk
[Mar 12 23:10:00 2009.57] Unknown #110018326: da of lma
[Mar 12 23:10:00 2009.60] [reactOnNPC] NPC message saved (4): "^55009E^1B622Cda^000000 of ^9CA813lma^000000".
[Mar 12 23:10:00 2009.62] Received packet: 00B4 Handler: npc_talk
[Mar 12 23:10:00 2009.65] Unknown #110018326: tjhplh enm seconds to respond
[Mar 12 23:10:00 2009.68] [reactOnNPC] NPC message saved (5): "^1588B4 ^0F6D2E^229403tjh^046E67plh ^AB8E43enm^000000^516801 seconds to respond".
[Mar 12 23:10:00 2009.71] Received packet: 00B5 Handler: npc_talk_continue
[Mar 12 23:10:00 2009.73] Unknown #110018326: Auto-continuing talking
[Mar 12 23:10:00 2009.76] Sent talk continue: 16 BF 8E 06
[Mar 12 23:10:00 2009.78] [reactOnNPC] onNPCAction type is: continue.
[Mar 12 23:10:00 2009.81] [reactOnNPC] Matching "[Police]" to "/[Police]/" (0)... [Mar 12 23:10:00 2009.84] regexp ok.
[Mar 12 23:10:00 2009.86] [reactOnNPC] Matching "Input this number:" to "/Input this number:/" (1)... [Mar 12 23:10:00 2009.89] regexp ok.
[Mar 12 23:10:00 2009.92] [reactOnNPC] Matching "wenmqrts wdlpnplhh smbln" to "/.*/" (2)... [Mar 12 23:10:00 2009.94] regexp ok.
[Mar 12 23:10:00 2009.97] [reactOnNPC] Matching " " to "/(.+)/" (3)... [Mar 12 23:10:00 2009.10] regexp ok.
[Mar 12 23:10:00 2009.10] [reactOnNPC] React to NPC with delay. Execute command "talk num t(u|)s|s.?.?r(a|)t(u|)s|/@) $answer=1; elsif ($numerotxt =~ /d(u|)a.?.?r(a|)t(u|)s/@) $answer=2; elsif ($numerotxt =~ /t(i|)g(a|).?.?r(a|)t(u|)s/@) $answer=3; elsif ($numerotxt =~ /emp(a|)t.?.?r(a|)t(u|)s/@) $answer=4; elsif ($numerotxt =~ /l(i|)m(a|).?.?r(a|)t(u|)s/@) $answer=5; elsif ($numerotxt =~ /en(a|)m.?.?r(a|)t(u|)s/@) $answer=6; elsif ($numerotxt =~ /t(u|)j(u|)(h|).?.?r(a|)t(u|)s/@) $answer=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?r(a|)t(u|)s/@) $answer=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?r(a|)t(u|)s/@) $answer=9;if ($numerotxt =~ /s(e|).?.?p(u|)l(u|)h|b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.?.?p(u|)l(u|)h/@) $answer.=2; elsif ($numerotxt =~ /t(i|)g(a|).?.?p(u|)l(u|)h/@) $answer.=3; elsif ($numerotxt =~ /emp(a|)t.?.?p(u|)l(u|)h/@) $answer.=4; elsif ($numerotxt =~ /l(i|)m(a|).?.?p(u|)l(u|)h/@) $answer.=5; elsif ($numerotxt =~ /en(a|)m.?.?p(u|)l(u|)h/@) $answer.=6; elsif ($numerotxt =~ /t(u|)j(u|)(h|).?.?p(u|)l(u|)h/@) $answer.=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?p(u|)l(u|)h/@) $answer.=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?p(u|)l(u|)h/@) $answer.=9; elsif ($answer neq ''@) $answer.=0;if ($numerotxt =~ /s(a|)tu.{0,3}$|s(e|).?.?b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.{0,3}$|d(u|)a.?.?b(e|)l(a|)s/@) $answer.=2; elsif ($numerotxt =~ /t(i|)g(a|).{0,3}$|t(i|)g(a|).?.?b(e|)l(a|)s/@) $answer.=3; elsif ($numerotxt =~ /emp(a|)t.{0,3}$|emp(a|)t.?.?b(e|)l(a|)s/@) $answer.=4; elsif ($numerotxt =~ /l(i|)m(a|).{0,3}$|l(i|)m(a|).?.?b(e|)l(a|)s/@) $answer.=5; elsif ($numerotxt =~ /en(a|)m.{0,3}$|en(a|)m.?.?b(e|)l(a|)s/@) $answer.=6; elsif ($numerotxt =~ /t[ùúûüu]j[ùúûüu]h.{0,3}$|t[ùúûüu]j[ùúûüu]h.?.?b(e|)l(a|)s/@) $answer.=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.{0,3}$|d(e|)l(a|)p(a|)n.?.?b(e|)l (a|)s/@) $answer.=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.{0,3}$|s(e|)mb(i|)l(a|)n.?.?b(e| )l(a|)s/@) $answer.=9; else $answer.=0;}return $answer" after 3 seconds.
[Mar 12 23:10:00 2009.11] Sent get player info: ID - 93 5A 91 06
[Mar 12 23:10:00 2009.11] Skill Use: 26
[Mar 12 23:10:00 2009.11] AI: teleport | 2
[Mar 12 23:10:00 2009.12] [reactOnNPC] Reacting to NPC. Executing command "talk num t(u|)s|s.?.?r(a|)t(u|)s|/@) $answer=1; elsif ($numerotxt =~ /d(u|)a.?.?r(a|)t(u|)s/@) $answer=2; elsif ($numerotxt =~ /t(i|)g(a|).?.?r(a|)t(u|)s/@) $answer=3; elsif ($numerotxt =~ /emp(a|)t.?.?r(a|)t(u|)s/@) $answer=4; elsif ($numerotxt =~ /l(i|)m(a|).?.?r(a|)t(u|)s/@) $answer=5; elsif ($numerotxt =~ /en(a|)m.?.?r(a|)t(u|)s/@) $answer=6; elsif ($numerotxt =~ /t(u|)j(u|)(h|).?.?r(a|)t(u|)s/@) $answer=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?r(a|)t(u|)s/@) $answer=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?r(a|)t(u|)s/@) $answer=9;if ($numerotxt =~ /s(e|).?.?p(u|)l(u|)h|b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.?.?p(u|)l(u|)h/@) $answer.=2; elsif ($numerotxt =~ /t(i|)g(a|).?.?p(u|)l(u|)h/@) $answer.=3; elsif ($numerotxt =~ /emp(a|)t.?.?p(u|)l(u|)h/@) $answer.=4; elsif ($numerotxt =~ /l(i|)m(a|).?.?p(u|)l(u|)h/@) $answer.=5; elsif ($numerotxt =~ /en(a|)m.?.?p(u|)l(u|)h/@) $answer.=6; elsif ($numerotxt =~ /t(u|)j(u|)(h|).?.?p(u|)l(u|)h/@) $answer.=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?p(u|)l(u|)h/@) $answer.=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?p(u|)l(u|)h/@) $answer.=9; elsif ($answer neq ''@) $answer.=0;if ($numerotxt =~ /s(a|)tu.{0,3}$|s(e|).?.?b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.{0,3}$|d(u|)a.?.?b(e|)l(a|)s/@) $answer.=2; elsif ($numerotxt =~ /t(i|)g(a|).{0,3}$|t(i|)g(a|).?.?b(e|)l(a|)s/@) $answer.=3; elsif ($numerotxt =~ /emp(a|)t.{0,3}$|emp(a|)t.?.?b(e|)l(a|)s/@) $answer.=4; elsif ($numerotxt =~ /l(i|)m(a|).{0,3}$|l(i|)m(a|).?.?b(e|)l(a|)s/@) $answer.=5; elsif ($numerotxt =~ /en(a|)m.{0,3}$|en(a|)m.?.?b(e|)l(a|)s/@) $answer.=6; elsif ($numerotxt =~ /t[ùúûüu]j[ùúûüu]h.{0,3}$|t[ùúûüu]j[ùúûüu]h.?.?b(e|)l(a|)s/@) $answer.=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.{0,3}$|d(e|)l(a|)p(a|)n.?.?b(e|)l (a|)s/@) $answer.=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.{0,3}$|s(e|)mb(i|)l(a|)n.?.?b(e| )l(a|)s/@) $answer.=9; else $answer.=0;}return $answer".
[Mar 12 23:10:00 2009.13] Error in function 'talk num' (Respond to NPC)
You must specify a number.
[Mar 12 23:10:00 2009.15] Received packet: 0078 Handler: actor_display
[Mar 12 23:10:00 2009.15] Received packet: 0142 Handler: npc_talk_number
[Mar 12 23:10:00 2009.15] BotKillerFnc1: Type 'talk num <number #>' to input a number.
[Mar 12 23:10:00 2009.16] [reactOnNPC] onNPCAction type is: number.
[Mar 12 23:10:00 2009.16] [reactOnNPC] Conditions for reactOnNPC_0 not met.
ini reactOnNPC di config ku,pake reactOnNPC plugin dan OK 2.0.6.1
reactOnNPC talk num @eval(my $numerotxt = #2~1;
my $answer;
if($numerotxt =~ /se.?.?r(a|)t(u|)s|s.?.?r(a|)t(u|)s/@) $answer=1; elsif ($numerotxt =~ /d(u|)a.?.?r(a|)t(u|)s/@) $answer=2;
elsif ($numerotxt =~ /t(i|)g(a|).?.?r(a|)t(u|)s/@) $answer=3; elsif ($numerotxt =~ /emp(a|)t.?.?r(a|)t(u|)s/@) $answer=4;
elsif ($numerotxt =~ /l(i|)m(a|).?.?r(a|)t(u|)s/@) $answer=5; elsif ($numerotxt =~ /en(a|)m.?.?r(a|)t(u|)s/@) $answer=6;
elsif ($numerotxt =~ /t(u|)j(u|)(h|).?.?r(a|)t(u|)s/@) $answer=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?r(a|)t(u|)s/@)
$answer=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?r(a|)t(u|)s/@) $answer=9;if ($numerotxt =~
/s(e|).?.?p(u|)l(u|)h|b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.?.?p(u|)l(u|)h/@) $answer.=2; elsif ($numerotxt
=~ /t(i|)g(a|).?.?p(u|)l(u|)h/@) $answer.=3; elsif ($numerotxt =~ /emp(a|)t.?.?p(u|)l(u|)h/@) $answer.=4; elsif ($numerotxt
=~ /l(i|)m(a|).?.?p(u|)l(u|)h/@) $answer.=5; elsif ($numerotxt =~ /en(a|)m.?.?p(u|)l(u|)h/@) $answer.=6; elsif ($numerotxt =~
/t(u|)j(u|)(h|).?.?p(u|)l(u|)h/@) $answer.=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?p(u|)l(u|)h/@) $answer.=8; elsif
($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?p(u|)l(u|)h/@) $answer.=9; elsif ($answer neq ''@) $answer.=0;if ($numerotxt =~
/s(a|)tu.{0,3}$|s(e|).?.?b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.{0,3}$|d(u|)a.?.?b(e|)l(a|)s/@) $answer.=2;
elsif ($numerotxt =~ /t(i|)g(a|).{0,3}$|t(i|)g(a|).?.?b(e|)l(a|)s/@) $answer.=3; elsif ($numerotxt =~
/emp(a|)t.{0,3}$|emp(a|)t.?.?b(e|)l(a|)s/@) $answer.=4; elsif ($numerotxt =~ /l(i|)m(a|).{0,3}$|l(i|)m(a|).?.?b(e|)l(a|)s/@)
$answer.=5; elsif ($numerotxt =~ /en(a|)m.{0,3}$|en(a|)m.?.?b(e|)l(a|)s/@) $answer.=6; elsif ($numerotxt =~
/t[ùúûüu]j[ùúûüu]h.{0,3}$|t[ùúûüu]j[ùúûüu]h.?.?b(e|)l(a|)s/@) $answer.=7; elsif ($numerotxt =~
/d(e|)l(a|)p(a|)n.{0,3}$|d(e|)l(a|)p(a|)n.?.?b(e|)l (a|)s/@) $answer.=8; elsif ($numerotxt =~
/s(e|)mb(i|)l(a|)n.{0,3}$|s(e|)mb(i|)l(a|)n.?.?b(e| )l(a|)s/@) $answer.=9; else $answer.=0;}return $answer {
type continue
useColors 0
delay 3
msg_0 /[Police]/
msg_1 /Input this number:/
msg_2 /(.+)/
}
reactOnNPC talk num @eval(my $numerotxt = #3~1;
my $answer;
if($numerotxt =~ /se.?.?r(a|)t(u|)s|s.?.?r(a|)t(u|)s/@) $answer=1; elsif ($numerotxt =~ /d(u|)a.?.?r(a|)t(u|)s/@) $answer=2;
elsif ($numerotxt =~ /t(i|)g(a|).?.?r(a|)t(u|)s/@) $answer=3; elsif ($numerotxt =~ /emp(a|)t.?.?r(a|)t(u|)s/@) $answer=4;
elsif ($numerotxt =~ /l(i|)m(a|).?.?r(a|)t(u|)s/@) $answer=5; elsif ($numerotxt =~ /en(a|)m.?.?r(a|)t(u|)s/@) $answer=6;
elsif ($numerotxt =~ /t(u|)j(u|)(h|).?.?r(a|)t(u|)s/@) $answer=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?r(a|)t(u|)s/@)
$answer=8; elsif ($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?r(a|)t(u|)s/@) $answer=9;if ($numerotxt =~
/s(e|).?.?p(u|)l(u|)h|b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.?.?p(u|)l(u|)h/@) $answer.=2; elsif ($numerotxt
=~ /t(i|)g(a|).?.?p(u|)l(u|)h/@) $answer.=3; elsif ($numerotxt =~ /emp(a|)t.?.?p(u|)l(u|)h/@) $answer.=4; elsif ($numerotxt
=~ /l(i|)m(a|).?.?p(u|)l(u|)h/@) $answer.=5; elsif ($numerotxt =~ /en(a|)m.?.?p(u|)l(u|)h/@) $answer.=6; elsif ($numerotxt =~
/t(u|)j(u|)(h|).?.?p(u|)l(u|)h/@) $answer.=7; elsif ($numerotxt =~ /d(e|)l(a|)p(a|)n.?.?p(u|)l(u|)h/@) $answer.=8; elsif
($numerotxt =~ /s(e|)mb(i|)l(a|)n.?.?p(u|)l(u|)h/@) $answer.=9; elsif ($answer neq ''@) $answer.=0;if ($numerotxt =~
/s(a|)tu.{0,3}$|s(e|).?.?b(e|)l(a|)s/@) $answer.=1; elsif ($numerotxt =~ /d(u|)a.{0,3}$|d(u|)a.?.?b(e|)l(a|)s/@) $answer.=2;
elsif ($numerotxt =~ /t(i|)g(a|).{0,3}$|t(i|)g(a|).?.?b(e|)l(a|)s/@) $answer.=3; elsif ($numerotxt =~
/emp(a|)t.{0,3}$|emp(a|)t.?.?b(e|)l(a|)s/@) $answer.=4; elsif ($numerotxt =~ /l(i|)m(a|).{0,3}$|l(i|)m(a|).?.?b(e|)l(a|)s/@)
$answer.=5; elsif ($numerotxt =~ /en(a|)m.{0,3}$|en(a|)m.?.?b(e|)l(a|)s/@) $answer.=6; elsif ($numerotxt =~
/t[ùúûüu]j[ùúûüu]h.{0,3}$|t[ùúûüu]j[ùúûüu]h.?.?b(e|)l(a|)s/@) $answer.=7; elsif ($numerotxt =~
/d(e|)l(a|)p(a|)n.{0,3}$|d(e|)l(a|)p(a|)n.?.?b(e|)l (a|)s/@) $answer.=8; elsif ($numerotxt =~
/s(e|)mb(i|)l(a|)n.{0,3}$|s(e|)mb(i|)l(a|)n.?.?b(e| )l(a|)s/@) $answer.=9; else $answer.=0;}return $answer {
type continue
useColors 0
delay 3
msg_0 /[Police]/
msg_1 /Input this number:/
msg_2 /.*/
msg_3 /(.+)/
}
</div>
</div></div>
mohon bantuan na ^^,thx b4