weechat- me personal weechat setup 🔵🟢 |
git clone git://git.acid.vegas/weechat.git |
Log | Files | Refs | Archive | README |
rdsp.py (494B)
1 # Random Spaces Weechat Script - Developed by Acidvegas in Python (https://git.acid.vegas/weechat) 2 3 import weechat 4 import random 5 6 def cmd_rdsp(data, buf, args): 7 num_spaces = random.randint(1, 100) 8 weechat.command(buf, '/input send \x03' + ' '*num_spaces + args) 9 return weechat.WEECHAT_RC_OK 10 11 if weechat.register('rdsp', 'acidvegas', '1.0', 'ISC', 'prefix a message with random spaces', '', ''): 12 weechat.hook_command('rdsp', 'Generate random spaces', '', '', '', 'cmd_rdsp', '')