mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Added make tea
This commit is contained in:
@@ -41,7 +41,12 @@ local commands = {
|
|||||||
['magic']={'chat-bot.magic'},
|
['magic']={'chat-bot.magic'},
|
||||||
['aids']={'chat-bot.aids'},
|
['aids']={'chat-bot.aids'},
|
||||||
['riot']={'chat-bot.riot'},
|
['riot']={'chat-bot.riot'},
|
||||||
['lenny']={'chat-bot.lenny'}
|
['lenny']={'chat-bot.lenny'},
|
||||||
|
['maketea']=function(player) Server.new_thread{
|
||||||
|
timeout=math.floor(180*(math.random()+0.5)),data=player.name
|
||||||
|
}:on_event('timeout',function(self)
|
||||||
|
if self.data then game.print{'chat-bot.message',{'chat-bot.make-tea-2',self.data}} end
|
||||||
|
end):open() return {'chat-bot.make-tea-1'} end
|
||||||
}
|
}
|
||||||
|
|
||||||
Event.register(defines.events.on_console_chat,function(event)
|
Event.register(defines.events.on_console_chat,function(event)
|
||||||
|
|||||||
@@ -20,3 +20,5 @@ aids=≖ ‿ ≖ Fear the aids of a public server ≖ ‿ ≖
|
|||||||
riot=(admins) ┬┴┬┴┤ᵒ_ᵒ)├┬┴┬┴ ‹ ‹\(´ω` )/››‹‹\ ( ´)/››‹‹\ ( ´ω`)/›› (rest of server)
|
riot=(admins) ┬┴┬┴┤ᵒ_ᵒ)├┬┴┬┴ ‹ ‹\(´ω` )/››‹‹\ ( ´)/››‹‹\ ( ´ω`)/›› (rest of server)
|
||||||
loops=NO LOOPS; LOOPS ARE BAD; JUST NO LOOPS!!!!!; IF YOU MAKE A LOOP.... IT WILL NOT END WELL!!!!!!!
|
loops=NO LOOPS; LOOPS ARE BAD; JUST NO LOOPS!!!!!; IF YOU MAKE A LOOP.... IT WILL NOT END WELL!!!!!!!
|
||||||
lenny=( ͡° ͜ʖ ͡°)
|
lenny=( ͡° ͜ʖ ͡°)
|
||||||
|
make-tea-1= ☕ Boiling the water... ☕
|
||||||
|
make-tea-2= ☕ __1__ your tea is done! ☕
|
||||||
Reference in New Issue
Block a user