Automatic Banner Bot
 

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

Automatic Banner Bot

Started by Sammy P, 04 January, 2005, 21:27:54

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sammy P

right, as ull probably notice i CANT write lua very well.

What im after is summin that will paste the following message into main chat every 20minutes, without someone typin !banner or whatever the command was
   
          -------------------------(?`?._.?[URBAN FM]?._.???)-------------------------
           
        ????`????LoCk On To ThE OfFiCiAL URBAN FM RaDiO????`????
           
         .???`?-> http://www.urbantingz.com/listen.rm    <-???`?.ReAl AmP
         .???`?-> http://www.urbantingz.com/listen.m3u <-???`?.WiN AmP
         .???`?-> http://www.urbantingz.com/listen.asx  <-???`?.WiN MeDiA
   
   www.uRBANTINGz.com/forum <-- Make sure ur regged. PASS THIS ON
           
       ????`????LoCk On To ThE OfFiCiAL URBAN FM RaDiO????`????


Cheers

Sammy P

bastya_elvtars

bot="Sylvia"

timer=20 -- in mins

messarray={

[[
 ?^(o)??~`??^(o)?LoCk On To ThE OfFiCiAL URBAN FM RaDiO?^(o)??~`??^(o)?

.???`?-> [URL]http://www.urbantingz.com/listen.rm[/URL] <-???`?.ReAl AmP
.???`?-> [URL]http://www.urbantingz.com/listen.m3u[/URL] <-???`?.WiN AmP
.???`?-> [URL]http://www.urbantingz.com/listen.asx[/URL] <-???`?.WiN MeDiA

[URL]www.uRBANTINGz.com/forum[/URL] <-- Make sure ur regged. PASS THIS ON

?^(o)??~`??^(o)?LoCk On To ThE OfFiCiAL URBAN FM RaDiO?^(o)??~`??^(o)? ]],

}

function Main()
	SetTimer (timer*60*1000)
	StartTimer()
end


function OnTimer()
	SendToAll(bot,messarray[random(1,getn(messarray))])
end
Everything could have been anything else and it would have just as much meaning.

Sammy P

thanks bruv, ur nang..

imby


Op

please convert to lua.5

bot="Sylvia"

timer=20 -- in mins

messarray={

[[
 ?^(o)??~`??^(o)?LoCk On To ThE OfFiCiAL URBAN FM RaDiO?^(o)??~`??^(o)?

.???`?-> http://www.urbantingz.com/listen.rm <-???`?.ReAl AmP
.???`?-> http://www.urbantingz.com/listen.m3u <-???`?.WiN AmP
.???`?-> http://www.urbantingz.com/listen.asx <-???`?.WiN MeDiA

//www.uRBANTINGz.com/forum <-- Make sure ur regged. PASS THIS ON

?^(o)??~`??^(o)?LoCk On To ThE OfFiCiAL URBAN FM RaDiO?^(o)??~`??^(o)? ]],

}

function Main()
   SetTimer (timer*60*1000)
   StartTimer()
end


function OnTimer()
   SendToAll(bot,messarray[random(1,getn(messarray))])
end

6Marilyn6Manson6

#5
For other post use [ CODE] and [ /CODE] without space.... first and after script please.

Try this:

-- Converted in LUA 5 by 6Marilyn6Manson6 at 10/09/2005

bot="Sylvia"

timer = 20	-- In Mins

messarray={
[[
?^(o)??~`??^(o)?LoCk On To ThE OfFiCiAL URBAN FM RaDiO?^(o)??~`??^(o)?
.???`?-> [URL]http://www.urbantingz.com/listen.rm[/URL] <-???`?.ReAl AmP
.???`?-> [URL]http://www.urbantingz.com/listen.m3u[/URL] <-???`?.WiN AmP
.???`?-> [URL]http://www.urbantingz.com/listen.asx[/URL] <-???`?.WiN MeDiA
[URL]www.uRBANTINGz.com/forum[/URL] <-- Make sure ur regged. PASS THIS ON
?^(o)??~`??^(o)?LoCk On To ThE OfFiCiAL URBAN FM RaDiO?^(o)??~`??^(o)? ]],
}

function Main()
	SetTimer (timer*60*1000)
	StartTimer()
end

function OnTimer()
	SendToAll(bot,messarray[math.random(1,table.getn(messarray))])
end

c ya

bastya_elvtars

Please don't remove the credits.
Everything could have been anything else and it would have just as much meaning.

Markitos


SMF spam blocked by CleanTalk