Quote1) Some of these boards will redirect you to the homepage/forum of the script, so we can support the authors by making users directly post to their forums.
2) If you have an AIO and want a forum for it (even if it's a redirector), please post into this parent board directly.
3) Please do not open posts if they don't have anything to do with note #2.
I know this breaks rule 3. But i just had to... ;p
-- Kitchen Sink made by Madman, 28.02.06
--[[--
Made beacuse of bastya_elvtars comment on the board
quote: These scripts contain everything but the kitchen sink. :)
But now this board does ;)
Warning! Use with caution!
This script will disconnect a random number of users when a Op use the cmd !sink
How? How the hell did i came up with the idea of this script?
If you figured it out, please let me know
--]]--
function ChatArrival(curUser, data)
local data = string.sub(data, 1, -2)
local s,e,cmd = string.find(data, "%b<>%s+[%!%+%#](%S+)")
if curUser.bOperator then
if cmd == "sink" then
Sink(curUser) return 1
end
end
end
function Sink(user)
local TmpTable,WhileTable,Dissed = {}, {0,}, ""
if frmHub:GetUsersCount() == 1 then
user:SendData("*** We need more users before we pull the plug") return 1
end
for _,oUser in frmHub:GetOnlineUsers() do
if oUser.sName == user.sName then
-- Don't add user that used the cmd
else
table.insert(TmpTable, oUser.sName)
end
end
SinkNr = math.random(0, (frmHub:GetUsersCount()-1))
if SinkNr == 0 then
SendToAll(user.sName.. " pulled the plug in the kitchen sink, but no user went down the drain") return 1
end
WhileTable[1] = SinkNr
while WhileTable[1] > 0 do
UserDis = TmpTable[math.random(table.getn(TmpTable))]
DisconnectByName(UserDis)
WhileTable[1] = WhileTable[1] - 1
Dissed = Dissed..UserDis..", "
end
Msg = user.sName.. " pulled the plug and the following users went down the drain " ..Dissed
SendToAll(Msg)
end
I doubt this topic will stay in this (http://forum.ptokax.org/index.php?board=51.0) section very long
you should know better than that Madman :p ..
Typhoon?
Quality. :D
lmao, awesome dude... nice one :) this could be script of the year...
Quote from: Typhoon™ on 28 February, 2006, 08:54:20
you should know better than that Madman :p ..
Typhoon™
I do, but i was bored and needed some entertaiment 4 a whille... =)
LOL! ;D
LMAO ;D
how about cleaning the sink when done???
this is not how your mother raised you madman. lol
plop
LOL nice script.......Got a funny request. I got a Op in my hub that says all the time can u make these script run the dishwasher. Any way of making a script that would have right clicks for load wash and put up with a ascii pic in main of a dishwasher?
Quote from: Mikey on 09 March, 2006, 04:42:47
LOL nice script.......Got a funny request. I got a Op in my hub that says all the time can u make these script run the dishwasher. Any way of making a script that would have right clicks for load wash and put up with a ascii pic in main of a dishwasher?
If, you can get the ascII pics requird... i guess i can do it...