add `keysmash` bangtag

staging
multiple creatures 2019-05-19 17:30:15 -05:00
parent 0f50698beb
commit 06b8b09fca
1 changed files with 18 additions and 0 deletions

View File

@ -455,6 +455,24 @@ class Bangtags
}
v = cmd[1].downcase
status.visibility = visibilities[v] unless visibilities[v].nil?
when 'keysmash'
keyboard = [
'asdf', 'jkl;',
'gh', "'",
'we', 'io',
'r', 'u',
'cv', 'nm',
't', 'x', ',',
'q', 'z',
'y', 'b',
'p', '[',
'.', '/',
']', "\\",
]
chunk = rand(6..33).times.collect do
keyboard[(keyboard.size * (rand ** 3)).floor].split('').sample
end
end
end