PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: MX-10 on 12 December, 2003, 19:39:06

Title: Auto message
Post by: MX-10 on 12 December, 2003, 19:39:06
I need some script who displays auto message in the main chatt.Like This

Our Hubs:
Hub Name :
Hub Address:
Min Share:

Could it be if i would write +auto, and the bot would send the message to the main chat.

Sorry for bad spelling :(
Title:
Post by: turkiye on 12 December, 2003, 21:20:54
i Have For You A Bot That Automaticly Says The
Name
Adress
Min. Share

You can use PzoZyBoT 3.7 Click Here (http://217.120.180.188/Forum4/redirect.php?dlid=11&PHPSESSID=835d1579d48fe068cd8a0da94b21dd6f)
 :D
Title:
Post by: SaintSinner on 12 December, 2003, 21:50:03
here this is created by phatty
its if you want a automatic timed message
bot = "Reminder"
mins = 360
file = "MsgAll.txt"

function Main()
SetTimer(mins*60000)
StartTimer()
end

function OnTimer()
local handle = openfile(file, "r")
if (handle ~= nil) then
local line = read(handle)
while line do
SendToAll(bot,line)
line = read(handle)
end
closefile(handle)
end
end




Title:
Post by: MX-10 on 12 December, 2003, 21:50:33
what is the remaining time on it
Title:
Post by: MX-10 on 12 December, 2003, 22:17:15
Thanks, This stuff works