slot chack
 

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

slot chack

Started by D-J Valhala, 16 March, 2004, 14:36:46

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

D-J Valhala

can someone please post me a litel BoT only for chack the hub slots? and all can use that not ONLE REG ViP's...
10x :D
My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

nErBoS

#1
Hi,

Please use search before posting...

Try here..

http://board.univ-angers.fr/thread.php?threadid=172&boardid=11&sid=cf331b82680f0e1a0a2c5e1f45c74b86

Best regards, nErBoS
--## nErBoS Spot ##--

D-J Valhala

hmmmmm that's not a slotbot m8...
and did you finish my req :D?
My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

NightLitch

#3
something like this:

-- Simple Slot check by NightLitch

-- Set minslots
MinSlot = 3

------------------------------------------------------
function DataArrival(curUser, data)
	if (strsub(data,1,7) == "$MyINFO") and not curUser.bOperator then
		Cslot(curUser,data)
	end
end

function Cslot(curUser,data)
	local _,_,slot = strfind(data, "S:(%d+)")
	if slot==nil then
		curUser:SendData("SlotChecker", "You are hiding your tag for checking your slots!")
		curUser:Disconnect()
	elseif tonumber(slot) < tonumber(MinSlot) then
		curUser:SendData("SlotChecker", "You have only ( "..slot.." ) slot(s) opened, plz open ( "..MinSlot.." ) slot(s)")
		curUser:Disconnect()
	end
end
--NightLitch

/NL
//NL

D-J Valhala

sorry m8 stupid me i need +slots for all users :D that show the free slots of the hub :D
there is +slots on robo but it's only for reg...
My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

NightLitch

QuoteOriginally posted by D-J Valhala
sorry m8 stupid me i need +slots for all users :D that show the free slots of the hub :D
there is +slots on robo but it's only for reg...

gaaa :-p lol

but your message to nErBoS... hehe

ok.. I give up for tonight, read really wrong I notice now.

goodnight. hehe
//NL

nErBoS

Hi,

D-J Valhala...

Your request wasn?t for a Bot to check the free slots in the Hub made by a command to all use ??

Best regards, nErBoS
--## nErBoS Spot ##--

D-J Valhala

yep the command is +slot :)
10x :D
My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

plop

QuoteOriginally posted by D-J Valhala
yep the command is +slot :)
10x :D
there is a standalone version of the script you are searching for posted here on the board.
it's made by rabidwombat/bolamix/opiumvolage, and specialy for testdrive.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

DEEP-GOA

#9
dj valium need a +brain "chak"

pestering a lot of hubs & ppl with some strange attitudes. i can only say the antiflood works fine..

sad story.. the forum have a lot of good threads and helpfull scripts.. only hold on 5 min.. read.. and work with copy & paste, that`s it.

open ur eyes and don`t touch lsd lol

http://deep-goa.no-ip.org
Put any term or title on me you want. What I am is what I do. I make things.

D-J Valhala

My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

lynyrd

what could i say...it's sad that you guys can't tag along.
but dont mess the threads up with that bull..
it kind off takes the edge off the spirit that should rule in this forum and in the hubs..try to add some energy in learning,helping out and have a good time instead.

keep a stiff upper lip

UwV

QuoteOriginally posted by D-J Valhala
WTF?


 ... !read and thou shall find

    ... that the F.   ... over 200 posts on this board by this walla  ... and  there is 150 (aprox.) about misunderstanding what you want/ how you want it, if not you ask for something that is here already ..
man you're about to become  a spammer on this board too if ask me  ;) ..


ps .. if he really didn't touch it ... i guess i had his too .. ;0P
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

D-J Valhala

you know what????
YOU CAN KISS YOU CRAPWORK AND SAY BYE BYE
the network ic going down !!!!!!
My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

D-J Valhala

anybody? simple bot to chack the users slot +slot and every user can user it :)
My PsyIsrael Network
==================
--=[PsyIsrael DC Hub]=--
--=[PsyIsrael Website]=--
==================

Corayzon

Well...this is quiet complexe for someone like u...

what u need to do when the command is called is send a searchstring to the entire hub...

next is to save to search returns $SR into a table to be shown when the search times out...

and then finally showing the table on time out

--// Slot Return Table
tabSlots = {n=0}
tmrSlots = 8

function slotsCommand(user, data, cmd)

   if cmd == cmdslots then
      getslots(user, data)
      return
   end

   -- Slots Return
   ------------------------------------------
   if (strsub(data, 1, 3) == "$SR") then
      doslotts(user,data)
   end
end

--///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
--// Slot functions
--///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function getslots(user,data)
   s,e,cmd,nr = strfind(data,"%b<>%s+(%S+)%s*(.*)")
   user:SendPM(sBot, "\tF i n d i n g   F r e e   S l o t s")
   user:SendPM(sBot, " ")
   tinsert(tabSlots, { sName = user.sName, iClock = clock(), tItems = {} })
   SendToAll("$Search Hub:"..sBot.." T?F?0?1?.|")
end

function doslotts(user,data)
   local s, e, free, all = strfind(data, " (%d+)/(%d+)"..strchar(5))
   local i = 1 while tabSlots do
   local table = tabSlots
   if not table.tItems[user.sName] then
      if (nr == "" and free ~= "0") then
         table.tItems[user.sName] = free.."/"..all
         SendPmToNick(table.sName,sBot,date("\t\t"..free.."/"..all.."\t"..user.sName))
      elseif (nr ~= "" and tonumber(all) >= tonumber(nr)) then
         table.tItems[user.sName] = free.."/"..all
         SendPmToNick(table.sName,sBot,date("\t\t"..all.."\t"..user.sName))
      end
   end
   if clock() >= table.iClock + tmrSlots then
      if getn(table.tItems) == 0 then
         if nr == "" then
            SendPmToNick(table.sName,sBot.."1")
         end
      end
      SendPmToNick(table.sName,sBot, "\t\tComplete") tremove(tabSlots, i)
   else i = i + 1
   end
end
end


this example is cSlaves bot check

hope this helps

SMF spam blocked by CleanTalk