PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: monnie on 06 August, 2004, 20:56:33

Title: Brain Master...Little Help
Post by: monnie on 06 August, 2004, 20:56:33
Greetings

I'm using Brain Master by nerbos and i wanted to modify some things, but i don?t know where they are...  ?(
I'll put here one example:

--## Kill Double IP ##--
   if (Settings.DuploIP == "on") then
      if (dip[user.sIP] == nil) then
         dip[user.sIP] = user.sName
         if (Settings.verPtokax == 0) then
            SaveToFile(dipsv , dip , "dip")
         end
      else
         if (dip[user.sIP] == user.sName) then
            dip[user.sIP] = user.sName
            if (Settings.verPtokax == 0) then
               SaveToFile(dipsv , dip , "dip")
            end
         else
            user:SendData(Bot, CLONEMSG1.." "..dip[user.sIP]..".")
            user:SendData(Bot, CLONEMSG2)
            if (Settings.iCK == 2) then
               user:SendData(Bot, GERALUSEMSG6)
               user:Disconnect()
            elseif (Settings.iCK == 3) then
               appendto(kicklistsv)
               write("\r\n"..user.sName.."\t"..user.sIP.."\t"..Bot.."\tDOUBLE IP\t"..GetTime())
               writeto()
               info.kick = "DOUBLE IP "..GERALUSEMSG5.." "..Bot
               if (info.ckick == nil or tonumber(info.ckick) == nil) then
                  info.ckick = 1


my doubt is where is " CLONEMSG1 ","CLONEMSG2"...
Can anyone say this to me???
nerbos...if you read this man..help me out

PS...One other thing, in the session of request scripts i've post one idea but i make a litle mistake, i've put the subjevt in portuguese: " Um Trigguie mais humano ", please help me out on that one to...see what you can do with that request, please...
Thanks man

Thanks to all
Keep the hard work

                                        monnie
Title:
Post by: Herodes on 06 August, 2004, 21:57:53
Look in the Language folder found in the scripts/BrainMaster ... if u are using the english one its called smth like "en.lua" and for the portuguese smth like "pt.lua"
Title: Thanks...again man
Post by: monnie on 07 August, 2004, 03:21:55
Greetings

I've just reached out the other msg and here you are again...
looking around the forum...helping out

Keep doing it, the forum was created for that purpose indeed...

               monnie
Title:
Post by: nErBoS on 12 August, 2004, 18:13:54
Hi,

Like Herodes said if you want to change pharses go to Base-Dados\Lang\

Best regards, nErBoS

Back to my vacations :)