Artbot 1.0 - Page 2
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Artbot 1.0

Started by MrBuitenhuizenJunior, 15 November, 2003, 02:24:59

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

MrBuitenhuizenJunior

#25
QuoteOriginally posted by T?M??r?V?ll?R
---====Settings are done in the ArtbotSettings cfg file inside Artbot-data

seems  to be missing this  file m8



The cfg file is created when you push the "Save Artbot Config" button at the GUI

TiMeTrAVelleR


catwo

Hi i cannot get the start timer to work i type  !startimer 1 as directed by help file but it just doesnt work.  This is driving me nuts i have checked startimer in config GUI and saved but no matter what i try it wont work.  I want the files to play at timeed intervals?  Please HELP!

H?LL?L?L??nG?L

#28
Can someone plz make the artbot in lua 5 plz. i just want the first one not with the gui or anything just artbot 1.0  It dont work

This 1:-

--Artbot 1.0 made by: [NL]MrBuitenhuizen
--Artbot has most of the scripting lines from > :
-->ShowInfo v1.0 by latinmusic == poweroperator 18/04/2003
-->Based on TrickerBot 2 by ?Ptaczek?
-->Based on a few lines of DirtyBot made by Dirty Finger)
--nov 2003 = start empty rule idea by Plop
--thnx to the people who made the Art txt files
--you need to have the directory "art" in your txt directory
--have fun with it

BotName = "Your Botname"
Files = {
["lol"] = "txt/art/lol.txt",
["toast"] = "txt/art/toast.txt",
["toilet"] = "txt/art/toilet.txt",
["devil"]= "txt/art/devil.txt",
["sleep"]= "txt/art/sleep.txt",
["goodnight"]= "txt/art/goodnight.txt",
["dance"]= "txt/art/dance.txt",
["rabbit"]= "txt/art/rabbit.txt",

}
function Main()
end
function DataArrival(user, data)
if( strsub(data, 1, 1) == "<" ) then
s,e,msg = strfind(data, "%b<> ([ -z]*)")
for key, value in Files do
if( strfind( strlower(msg), key) ) then
txtToShow, x = gsub(value, "%b[]", user.sName)
SendToAll( data )
Show(user, TheFile)
return 1
end
end
end
end
function Show(user, TheFile)
readfrom(txtToShow, "r")
local message = "\r\n"
while 1 do
local line = read()
if line == nil then break
else
message = message..line.."\r\n"
end
end
SendToAll( BotName, message ) -- send bot's message
readfrom()
return 1;
end

THX

Psycho_Chihuahua

#29
Well you could take the Ascii's from that Bot and make your own

BotName = frmHub:GetHubBotName()

function ChatArrival(user, data)
		data=string.sub(data,1,string.len(data)-1)
		s,e,cmd = string.find( data, "%b<>%s+(%S+)" )

		
if (cmd=="#dancing") then
SendToAll(BotName, " ")
SendToAll(BotName, "               *                 *                                     ")
SendToAll(BotName, "      _O_/       \\_O_                *                           ")
SendToAll(BotName, "     / )(      *      ((  \\                                            ")
SendToAll(BotName, "      /  \\            / \\                                              ")
SendToAll(BotName, " ")
SendToAll(BotName, "                                                                           ")
SendToAll(BotName, "   *    O_/                       *                                   ")
SendToAll(BotName, "     _/))                               /_O_/                              ")
SendToAll(BotName, "        \\\\                                  []                               ")
SendToAll(BotName, "        //                                 //                                      ")
SendToAll(BotName, "                                           \\\\                                       ")
SendToAll(BotName, " ")
SendToAll(BotName, "                                                                                          ")
SendToAll(BotName, "                  *** Dancing in the Hub***                               ")
SendToAll(BotName, "        _O_/                                                   /_O_/                                 ")
SendToAll(BotName, "       / )(                                                         []                   ")
SendToAll(BotName, "        /  \\                                                        //                          " )            
SendToAll(BotName, "                                                                     \\\\                                 ")
SendToAll(BotName, " ")
SendToAll(BotName, " ")
end 

end

I know its not the same but you can add as many pictures as you want to
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

??????Hawk??????

#30
--Artbot 1.0 made by: [NL]MrBuitenhuizen 
--Artbot has most of the scripting lines from > : 
-->ShowInfo v1.0 by latinmusic == poweroperator 18/04/2003 
-->Based on TrickerBot 2 by ?Ptaczek? 
-->Based on a few lines of DirtyBot made by Dirty Finger) 
--nov 2003 = start empty rule idea by Plop 
--thnx to the people who made the Art txt files 
--you need to have the directory "art" in your txt directory 
--have fun with it
-- LUA 5 By  ??????Hawk??????

BotName = "Your Botname" 
Files = { 
["lol"] = "txt/art/lol.txt", 
["toast"] = "txt/art/toast.txt", 
["toilet"] = "txt/art/toilet.txt", 
["devil"]= "txt/art/devil.txt", 
["sleep"]= "txt/art/sleep.txt", 
["goodnight"]= "txt/art/goodnight.txt", 
["dance"]= "txt/art/dance.txt", 
["rabbit"]= "txt/art/rabbit.txt", 

} 

function ChatArrival(user, data) 
	s,e,msg = string.find(data, "%b<> ([ -z]*)") 
		for key, value in Files do 
			if( string.find( string.lower(msg), key) ) then 
				txtToShow, x = string.gsub(value, "%b[]", user.sName) 
				SendToAll( data ) 
				Show(user, value) 
				return 1 
			end 
		end 
end 


function Show(user, txtToShow) 
	local f,e = io.open(txtToShow,"r")						 
	local message = "" 
		while 1 do 
			local line = f:read("*l")  
				if line == nil then break 
				else 
					message = message..line.."\r\n"			 
				end 
		end 
	f:close(f)
	SendToAll(BotName,message)			
	return 1
end

H?LL?L?L??nG?L

Thank you psycho i'll think about that 1. And Thank you Hawk ya wee Darlin :p:p

SMF spam blocked by CleanTalk