Hello,
I've had a boatwatch script when I used Ibot,
it's like
if player on screen - msg name to main char
with a safelist, so if someone comes on screen u copy/paste his name in safelist and it won't pm the mainchar.
thanks in advance
Hello,
I've had a boatwatch script when I used Ibot,
it's like
if player on screen - msg name to main char
with a safelist, so if someone comes on screen u copy/paste his name in safelist and it won't pm the mainchar.
thanks in advance
-- Config
init start
local SAFELIST = {"Imba"}
local yourName = "Your name"
local msgDelayTime = 2000 -- time in ms between msgs
init end
-- Code
local SEEN = {}
table.lower(SAFELIST)
while (true) do
foreach creature p "psx" do
if (not table.find(SEEN, p.name:lower())) and (not table.find(SAFELIST, p.name:lower())) then
say("*"..yourName.."* "..p.name.." is on my screen")
wait(msgDelayTime)
table.insert(SEEN, p.name:lower())
end
end
wait(200, 400)
end
This will only send 1 pm for each guy, this means that if some guy will keep running, bot wont pm you. If you want me to edit it tag me @
Last edited by Imba; 02-21-2014 at 12:12 PM.
will try it out! Thanks!
-- Config
init start
local SAFELIST = {"Imba"}
local yourName = "Your name"
local msgDelayTime = 2000 -- time in ms between msgs
init end
auto(100)
while (true) do
foreach creature p "psx" do
if (not table.find(SEEN, p.name:lower())) and (not table.find(SAFELIST, p.name:lower())) then
say("*"..yourName.."* "..p.name.." is on my screen")
wait(msgDelayTime)
end
end
wait(200, 400)
end
Try now.
@Imba remember to add auto() or it will check just once.
Jesus fucking christ, please don't fucking use while true to make it repeat every x seconds.
We have auto() for that.
Why so mean QQ
@Imba somethimes it fails to send the message, so he writes it but doesn't press 'enter' any solutions?