Jump to content

Recommended Posts

Posted

Here you are :

set_event "<&SCRIPTEVENT_CHAT&>" "<&SYSTEM_CURRENTFILE&>" czat_check
print_text " start"
do
sleep 1000
loop 1 == 1
end_script


function czat_check
define string anty "AntiBot"
define string temp_str ""
define string okrojony ""
define string spc_str " "
define int dlg 0
define int spc 0
if sendername == anty
dlg = MESSAGE.count
dlg = dlg - 9
okrojony = MESSAGE.SUBSTRING 9 dlg
spc = okrojony.INDEXOF spc_str
spc = spc
temp_str = okrojony.SUBSTRING 0 spc
//print_text "kodzik <&temp_str&>"
sleep 500
say_text "<&CHANNEL_ALL&>" ".n <&temp_str&>"
endif


return void

 

Load it, run it, and enjoy boting.

Credits : L2Net Comunity

Guest
This topic is now closed to further replies.
×
×
  • Create New...