SkylorD wrote:If doesn't work :
Code: Select all
reactOnNPC talk num #1~1 {
type number
msg_0 Please Key in The 4 scurity Code ^^
msg_1 /(\d+)/
}
I'm going to kill myself
hii SkylorD..
did u help me with this
Penjaga#moc1: [Penjaga]
[reactOnNPC] NPC message saved (0): "[Penjaga]".
Penjaga#moc1: tuliskan teks berwarna merah
[reactOnNPC] NPC message saved (1): "tuliskan teks berwarna merah".
Penjaga#moc1: Jika kamu salah
[reactOnNPC] NPC message saved (2): "Jika kamu salah".
Penjaga#moc1: akan dipindahkan ke kota Prontera
[reactOnNPC] NPC message saved (3): "akan dipindahkan ke kota Prontera".
Penjaga#moc1: akusukabermainrogravindo
[reactOnNPC] NPC message saved (4): "^FF0000a^000000kusuka^FF0000b^000000er^FF0000m^000000ain^FF0000r^000000ogravindo".
Penjaga#moc1: Auto-continuing talking
[reactOnNPC] onNPCAction type is: continue.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:continue, rect:text) 'type' not met.
Penjaga#moc1: Type 'talk text' (Respond to NPC)
[reactOnNPC] onNPCAction type is: text.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:text , rect:text) is met.
[reactOnNPC] Matching [msg (0)] "[Penjaga]" to "/[Penjaga]/" ... regexp ok.
[reactOnNPC] Matching [msg (1)] "tuliskan teks berwarna merah" to "/tuliskan teks berwarna merah/" ... regexp ok.
[reactOnNPC] Matching [msg (2)] "Jika kamu salah" to "/Jika kamu salah/" ... regexp ok.
[reactOnNPC] Matching [msg (3)] "akan dipindahkan ke kota Prontera" to "/akan dipindahkan ke kota Prontera/" ... regexp
ok.
[reactOnNPC] Matching [msg (4)] "^FF0000a^000000kusuka^FF0000b^000000er^FF0000m^000000ain^FF0000r^000000ogravindo" to
"/(\^[0-9a-fA-F]{6})(.+)/i" ... regexp ok.
how take red letter color for the answer, like abmr.
1 sentence there are 4/5 red letters.
thanks