PDA

View Full Version : Respond to a whisper.



Rhewtani
10-01-2006, 12:52 AM
How do I write a script to handle ...

Guy1 whisper to you.
You whisper "Hello." to Guy1

...I know its possible, I just can't figure out its matching or waiting.

Latrinsorm
10-01-2006, 12:55 AM
match label1 Name1 quietly whispers
match label2 Name2 quietly whispers
matchwait

label1:
put whisper name1 Hello, may I fellate you?
goto label3

label2:
put whisper name2 Hello, Your Faecophiliacness.
goto label3

Shaelun
10-03-2006, 03:13 PM
This does not work in StormFront: it won't let you save the %s variable back into %s (I'm sure you could easily modify it for SF though).

The idea is that they have to be sitting or kneeling or laying down or whatever so that their name shows as "Also here: Shaelun who is sitting," and the script just keeps LOOKing to read in their name one letter at a time backwards. This takes a lot of LOOKing, but it's the only way I ever came up with to get more than a finite number of pre-determined names into a script.



NameSentry:
put look
match as a%s who
match bs b%s who
match cs c%s who
match ds d%s who
match es e%s who
match fs f%s who
match gs g%s who
match hs h%s who
match is i%s who
match js j%s who
match ks k%s who
match ls l%s who
match ms m%s who
match ns n%s who
match os o%s who
match ps p%s who
match qs q%s who
match rs r%s who
match ss s%s who
match ts t%s who
match us u%s who
match vs v%s who
match ws w%s who
match xs x%s who
match ys y%s who
match zs z%s who
match namestored Obvious
matchwait

A:
save a
goto namesentry

B:
save b
goto namesentry

C:
save c
goto namesentry

D:
save d
goto namesentry

E:
save e
goto namesentry

F:
save f
goto namesentry

G:
save g
goto namesentry

H:
save h
goto namesentry

I:
save i
goto namesentry

J:
save j
goto namesentry

K:
save k
goto namesentry

L:
save l
goto namesentry

M:
save m
goto namesentry

N:
save n
goto namesentry

O:
save o
goto namesentry
P:
save p
goto namesentry

Q:
save q
goto namesentry

R:
save r
goto namesentry

S:
save s
goto namesentry

T:
save t
goto namesentry

U:
save u
goto namesentry

V:
save v
goto namesentry

W:
save w
goto namesentry

X:
save x
goto namesentry

Y:
save y
goto namesentry

Z:
save z
goto namesentry

As:
save a%s
goto namesentry

Bs:
save b%s
goto namesentry

Cs:
save c%s
goto namesentry

Ds:Es:
save e%s
goto namesentry

Fs:
save f%s
goto namesentry

Gs:
save g%s
goto namesentry

Hs:
save h%s
goto namesentry

Is:
save i%s
goto namesentry

Js:
save j%s
goto namesentry

Ks:
save k%s
goto namesentry

Ls:
save l%s
goto namesentry

Ms:
save m%s
goto namesentry

Ns:
save n%s
goto namesentry

Os:
save o%s
goto namesentry

Ps:
save d%s
goto namesentry
Qs:
save q%s
goto namesentry

Rs:
save r%s
goto namesentry

Ss:
save s%s
goto namesentry

Ts:
save t%s
goto namesentry

Us:
save u%s
goto namesentry

Vs:
save v%s
goto namesentry

Ws:
save w%s
goto namesentry

Xs:
save x%s
goto namesentry

Ys:
save y%s
goto namesentry

Zs:
save z%s
goto namesentry