18/08/2015, 17:25
Hi there,
I would like to request a script whereby bot can automatically "flip" the text given by user. I found a ruby irc bot can do that function and I hope it can port over to eggdrop. Please refer below for the example:
<mon> .flip uto
<@Litabot> (╯°□°)╯︵ oʇn
<mon> .flip table
<@Litabot> (╯°□°)╯︵ ┻━┻
<mon> .flip MenzAgitat
<@Litabot> (╯°□°)╯︵ ʇɐʇıbɐzuǝɯ
Below is the list of inverted text that I found from the ruby script.
I would like to request a script whereby bot can automatically "flip" the text given by user. I found a ruby irc bot can do that function and I hope it can port over to eggdrop. Please refer below for the example:
<mon> .flip uto
<@Litabot> (╯°□°)╯︵ oʇn
<mon> .flip table
<@Litabot> (╯°□°)╯︵ ┻━┻
<mon> .flip MenzAgitat
<@Litabot> (╯°□°)╯︵ ʇɐʇıbɐzuǝɯ
Below is the list of inverted text that I found from the ruby script.
Code :
Flip character:
'!' => '¡',
'?' => '¿',
'6' => '9',
'9' => '6',
'a' => 'ɐ',
'b' => 'q',
'c' => 'ɔ',
'd' => 'p',
'e' => 'ǝ',
'f' => 'ɟ',
'g' => 'b',
'h' => 'ɥ',
'i' => 'ı',
'j' => 'ɾ',
'k' => 'ʞ',
'l' => 'l',
'm' => 'ɯ',
'n' => 'u',
'o' => 'o',
'p' => 'd',
'q' => 'b',
'r' => 'ɹ',
's' => 's',
't' => 'ʇ',
'u' => 'n',
'v' => 'ʌ',
'w' => 'ʍ',
'x' => 'x',
'y' => 'ʎ',
'z' => 'z',
'<' => '>',
'>' => '<',
'(' => ')',
')' => '(',
'[' => ']',
']' => '[',
'/' => '\\',
'\\' => '/',
',' => '\'',
'\'' => ',',
flipped words:
'table' => '┻━┻'