Author Topic: Automatic Banner Bot  (Read 4678 times)

0 Members and 1 Guest are viewing this topic.

Offline Sammy P

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Automatic Banner Bot
« on: 04 January, 2005, 21:27:54 »
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

PtokaX forum

Automatic Banner Bot
« on: 04 January, 2005, 21:27:54 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 752
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #1 on: 04 January, 2005, 21:54:59 »
Code: [Select]
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.

Offline Sammy P

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
(No subject)
« Reply #2 on: 04 January, 2005, 22:59:05 »
thanks bruv, ur nang..

imby

  • Guest
(No subject)
« Reply #3 on: 05 January, 2005, 02:18:55 »
What?

Op

  • Guest
please convert to lua.5
« Reply #4 on: 09 October, 2005, 11:27:57 »
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

http://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

Offline 6Marilyn6Manson6

  • Scripter
  • King
  • ******
  • Posts: 869
  • Karma: +47/-35
    • http://www.marilynmanson986.altervista.org
(No subject)
« Reply #5 on: 09 October, 2005, 13:11:39 »
For other post use [ CODE] and [ /CODE] without space.... first and after script please.

Try this:

Code: [Select]
-- 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
« Last Edit: 09 October, 2005, 13:29:12 by 6Marilyn6Manson6 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 752
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #6 on: 09 October, 2005, 14:12:22 »
Please don't remove the credits.
Everything could have been anything else and it would have just as much meaning.

Markitos

  • Guest
(No subject)
« Reply #7 on: 10 October, 2005, 13:01:09 »
Hehehe!...

PtokaX forum

(No subject)
« Reply #7 on: 10 October, 2005, 13:01:09 »