SOLUTION:
i use settings:
Code: Select all
[RPS]
# http://main.playrps.net
ip 23.228.127.133
port 6900
version 25
master_version 1
serverType kRO_RagexeRE_2010_07_14a
serverEncoding Western
charBlockSize 112
addTableFolders kRO/RagexeRE_2010_07_14a;pserver;translated;translated/kRO_english;kRO
need use
reactOnNPC plugin.
1. add to the plugins folder next file:
reactOnNPC.pl
2. add to your config following options:
Code: Select all
reactOnNPC talk text @eval(my $orig_color = '#1~1';my @@color = ('#3~1','#3~3','#3~5','#3~7','#3~9','#3~11','#3~13','#3~15','#3~17','#3~19','#3~21','#3~23','#3~25','#3~27','#3~29','#3~31','#3~33','#3~35','#3~37','#3~39'@);my @@symbol = ('#3~2','#3~4','#3~6','#3~8','#3~10','#3~12','#3~14','#3~16','#3~18','#3~20','#3~22','#3~24','#3~26','#3~28','#3~30','#3~32','#3~34','#3~36','#3~38','#3~40'@);my @@answer;my $answer;for ($a=0;$a<20;$a++@) {if (@@color[$a] eq $orig_color@) {push @@answer, @@symbol[$a]}}for ($a=0;$a<@@answer;$a++@) {$answer .= @@answer[$a]}return $answer){
type text
useColors 1
delay 5
msg_0 /Sorry to disturb you, but I need to check if you're a bot./
msg_1 /Type the CHARACTERS which are in \^([0-9a-fA-F]{6})COLOR\^000000 Serially:/
msg_2 /Captcha:/
msg_3 /\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000\^([0-9a-fA-F]{6})(\w)\^000000/
}
Goldroom: Sorry to disturb you, but I need to check if you're a bot.
Goldroom: Type the CHARACTERS which are in COLOR Serially:
Goldroom: Captcha:
Goldroom: O4DWA5NWLHBUHCY7P5TQ
Goldroom: Type 'talk text' (Respond to NPC)
[reactOnNPC] Reacting to NPC. Executing command "talk text WABU".
Goldroom: Auto-continuing talking
Goldroom: [ Gold Room ]
Goldroom: Do you want to enter my Gold Room and get filthy rich?
Goldroom: But you have to pay 1000000z for you to enter
Goldroom: You can use Gold Room for more 180 Minutes,
Goldroom: After that, you would have to wait 24 Hours
--------- Responses (Goldroom) ---------
# Response
0 Ok, I'll Pay
1 No thanks.
2 Cancel Chat
----------------------------------------
Goldroom: Type 'talk resp #' to choose a response.