-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnoteBot.py
More file actions
116 lines (93 loc) · 4.57 KB
/
Copy pathnoteBot.py
File metadata and controls
116 lines (93 loc) · 4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
from fBot_library import fBot
import random
version = 0.8
bot = fBot('Cassandra', 'michcioperz.Users.AfterNET.Org')
bot.debug('0')
bot.init('irc.afternet.org')
bot.debug_msg(1, '%s initialized on %s' % (bot.nick, bot.net))
#greetingDone = 0
taken = ['MrGame64', 'bluefoxgs', 'MarcoSpiess']
friends = ['michcioperz', 'antonijn', 'antonjin', 'SuperHawksman', 'iandioch', 'Zanzlanz', 'Caroline', 'Luna','terrabyte_aura']
morethan = ['antobot']
while 1:
message, parameter, nick, host = bot.react('')
# if greetingDone != 1:
# greetingDone = 1
# bot.message("Heeeeeey peoplez <3 :*")
if bot.command('!!ATLITS'):
if parameter in ['system;start']:
bot.message('http://www.youtube.com/watch?v=LrjiW0TAspk <3');
if parameter in ['vectors']:
bot.message('http://www.youtube.com/watch?v=JKLDvnfDmlM <3');
if parameter in ['euphemia']:
bot.message('http://www.youtube.com/watch?v=grHD49PJHig <3');
if parameter in ['knightmare/frame']:
bot.message('http://www.youtube.com/watch?v=Mq-yLC7wyKs <3');
if parameter in ['tokyo house party']:
bot.message('http://www.youtube.com/watch?v=UC1do2pAc0c <3');
if parameter in ['shi no barado']:
bot.message('http://www.youtube.com/watch?v=uBP4psAfrT4 <3');
if parameter in ['cassandra (pt ii)']:
bot.message('http://www.youtube.com/watch?v=7BAcIP2V_l4 <3');
if parameter in ['the strays']:
bot.message('http://www.youtube.com/watch?v=EZ_g-FDSsAk <3');
if parameter in ['dream & reality']:
bot.message('http://www.youtube.com/watch?v=S8u1j1rRdio <3');
if parameter in ['heaven-piercing giga drill']:
bot.message('http://www.youtube.com/watch?v=-V1oD1h6hvk <3');
if parameter in ['bosozoku symphonic']:
bot.message('http://www.youtube.com/watch?v=E5MXV0GwwhU <3');
if bot.command('Cassandra, can you hear me?'):
bot.message('Yes.')
if bot.command('Are you ready to begin?'):
bot.message('Yes, I\'m ready.')
if bot.get_action('murders') or bot.get_action('kills') or bot.get_action('brutally beats') or bot.get_action('beats') or bot.get_action('punches') or bot.get_action('kicks'):
bot.message("%s: Make love, not war, honey" % (nick))
if bot.command('hi %s' % (bot.nick)) or bot.command('hello %s' % (bot.nick)):
bot.message('Hi %s! :*' % (nick))
if bot.command('!!AreYouSure'):
bot.action('is %s%% sure' % (random.randint(0,100)))
if bot.command('!!IsCool'):
if parameter in morethan:
bot.action('is too shy to talk about that')
else:
bot.action('thinks %s is cool indeed' % (parameter))
if bot.command('!!IsAwesome'):
if parameter in morethan:
bot.action('is too shy to talk about that')
else:
bot.action('thinks %s is awesome indeed' % (parameter))
if bot.command('!!Dance'):
bot.action('dances %s' % (parameter))
if bot.command('!!Bosozoku', 1):
bot.kill('Cassandra says bye! <3')
if bot.command('!!Talk', 1):
bot.message(parameter)
if bot.command('!!Query', 1):
bot.query(parameter)
if bot.command('!!Act', 1):
bot.action(parameter)
if bot.command('!!Name', 1):
bot.rename(parameter)
if bot.command('!!Ident'):
bot.privmsg(nick, 'You are %s. - Your host is \'%s\'.' % (nick, host))
if bot.command('!!Version'):
bot.message('I am %s v%.1f running on top of the fBot framework v%.1f by Folis.' % (bot.nick, version, bot.version))
if bot.get_action('hugs %s' % (bot.nick)):
if nick in morethan:
actionType = 'tightly', 'for a long time', 'firmly'
bot.action('hugs %s %s.' % (nick, random.choice(actionType)))
elif nick in friends:
actionType = 'lightly', 'quickly', 'softly'
bot.action('hugs %s %s.' % (nick, random.choice(actionType)))
elif nick in taken:
bot.action('kindly asks %s to stop.' % (nick))
if bot.get_action('kisses %s' % (bot.nick)):
if nick in morethan:
bot.action('kisses %s %s' % (nick, random.choice(['like there\'s no tomorrow','for a long time'])))
elif nick in friends:
bot.action('kisses %s %s' % (nick, random.choice(['like a friend','friendly','on the cheek'])))
elif nick in taken:
bot.message('%s: Nah, I can\'t do it to her.' % (nick))
else:
bot.message('%s: I think I don\'t know you... yet ;)' % (nick))