Use:
Makes you speak like a zombie. Your speech will come out zombielike. Other users with the script and your key will see what you say normally.
/zkey (word or sentence)
/zombie (nick or channel) Message
/dezombie Message
Example
/zkey grue!!!
Result
Key is now: grue!!!
Example:
/zombie I like brains grue!!!
Result:
<@Rein> brains!!! urgbrains!!!yummslop ughfueuhhbrains!!!argfla keyslopfue??? ackooferggoo grue!!!
Example:
/dezombie brains!!! urgbrains!!!yummslop ughfueuhhbrains!!!argfla keyslopfue??? ackooferggoo
Result:
brains!!! urgbrains!!!yummslop ughfueuhhbrains!!!argfla keyslopfue??? ackooferggoo = i like brains very much
easy to change / configure
kinda lame, but fun
Happy Halloween
Rein
Changes & Thanks
General Idea, Nagging to actually do - Tok|n
Fixed Bracket Error - Teen
Added "alias Zombie {}", and is now a remote script - Napa182
Removed %text Variable / %zkey gvar, implemented $active instead of $1, some minor formatting and organization. - Gooshie
Fixed Ontext (Called $2-, dropped alot of messages - oops)
Todo
Add Case sensitivity on strings (just 26 letters... anyone know any good zombie words? :P)
Find way to ignore On Text if $zkey is not present, instead of forcing an echo
In Latest changes, I've noticed that the ONTEXT prevents channels from notifying when messages are received
on ^*:TEXT:*:*: {
if (%zkey isin $1-) {
echo -tbf $iif($chan,$v1,$nick) $+(<,$nick,>) $replacex($1-,!?!, z, ???, y, !!!, x, die, w, key, v, oof, u, gah, t, fla, s, fue, r, fel, q, fom, p, arr, $&
o, arg, n, ack, m, urg, l, yumm, k, ommn, j, brains!!!, i, goo, h, gop, g, omnomm, f, slop, e, err, d, erg, c, ugh, b, uhh, a)
}
else {
echo -tbf $iif($chan,$v1,$nick) $+(<,$nick,>) $1-
}
haltdef
}
alias zombie {
msg $active $replacex($1- ,%zkey,%zkey,a, uhh,b, ugh,c, erg,d, err,e, slop,f, omnomm,g, gop,h, goo,i, brains!!!,$&
j, ommn,k, yumm,l, urg,m, ack,n, arg,o, arr,p, fom,q, fel,r, fue,s, fla,t, gah,u, oof,v, key,w, die,x, !!!,y, ???,z, !?!)
}
alias dezombie {
echo $1- = $replacex($1-,!?!, z, ???, y, !!!, x, die, w, key, v, oof, u, gah, t, fla, s, fue, r, fel, q, fom, p, arr, $&
o, arg, n, ack, m, urg, l, yumm, k, ommn, j, brains!!!, i, goo, h, gop, g, omnomm, f, slop, e, err, d, erg, c, ugh, b, uhh, a)
}
alias zkey {
set %zkey $1-
echo Key is now: %zkey
}
Rein
The only reason I split the lines is to make it fit better in the code display area.
I eliminated the else statement as I see it as redundant.
You could use an on INPUT event with a switch or %variable for the channel name
that could be settable.
You do not need and should NOT want global variables:
(global variables are harddrive reads/writes)
alias zombie {
set %text $2-
set %text $replacex($2- ,%zkey,%zkey,a, uhh,b, ugh,c, erg,d, err,e, slop,f, omnomm,g, gop,h, goo,i, brains!!!,j, ommn,k, yumm,l, urg,m, ack,n, arg,o, arr,p, fom,q, fel,r, fue,s, fla,t, gah,u, oof,v, key,w, die,x, !!!,y, ???,z, !?!)
msg $1 %text
}
You could eliminate the need to use #RoomName/$nick so all you have to
type is: /zombie message
alias zombie {
msg $active $replacex($1- ,%zkey,%zkey,a, uhh,b, ugh,c, erg,d, err,e, slop,f, omnomm,g, gop,h, goo,i, brains!!!,j, ommn,k, yumm,l, urg,m, ack,n, arg,o, arr,p, fom,q, fel,r, fue,s, fla,t, gah,u, oof,v, key,w, die,x, !!!,y, ???,z, !?!)
}
saw the #funky text snippet, and how it uses on INPUT, but decided i didnt like it. as it checks every letter, and would then ignore they key, also it would blanket every channel. only difference i can see in my on TEXT and yours is that you split the lines. Should note, that this is/was fully functional since it was posted (it works)
I think you will need an on INPUT event to 'speak' zombie.
To understand zombie I think you may want something like this:
on ^*:TEXT:*:*: {
var %text $strip($1-)
if %zkey isin %text {
%text = $replacex(%text,!?!, z, ???, y, !!!, x, die, w, key, v, oof, $&
u, gah, t, fla, s, fue, r, fel, q, fom, p, arr, o, arg, n, ack, m, $&
urg, l, yumm, k, ommn, j, brains!!!, i, goo, h, gop, g, omnomm, f, $&
slop, e, err, d, erg, c, ugh, b, uhh, a)
echo -tbf $iif(#,$v1,$nick) $+(<,$nick,>) %text
haltdef
}
}
______________________________________________________________________________
habit from scripting other langs with globals, yeah sorry, was (high) and for some reason thought it would be better if after I saw comments with notes/solutions, to remove them and add to changelog. It wasnt an intentional act against you guys :D
No one thinks they know any interesting 'zombie' words? (old movie refrences perhaps?)