vbscript - WshShell.SendKeys - SLASH not allowed? -


today having difficulties following code:

x=msgbox("your text here" ,0, "your title here") username=inputbox("after message, have 5 seconds switch minecraft. please enter username wish type song to:") wscript.sleep 5000 wshshell.sendkeys "/msg" + username + "i know met maybe dumb feels there moment" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "that touched 'cause, it's alright, it's alright wanna make mine way you're lightin'" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "up room caught corner of eye can both sneak out door don't have say" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "goodbye 'cause, it's alright, it's alright waste time tonight maybe i'm kid in love" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "maybe i'm kid in love oh, baby if it's falling in love don't ever" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "wanna grow maybe i'm kid in love maybe i'm kid in love oh, baby" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "it'd cool if it's 2 of don't ever wanna grow 'cause got all" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "oh, oh, oh, oh, oh, oh , got , don't ever wanna grow up" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "said, place kinda close , 'rents out of town baby, there's no pressure" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "but if you're down, i'm down 'cause, it's alright, it's alright talk tonight" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "if you're feeling kinda crazy turn down lights can take our time whatever like" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "it's alright, it's alright wanna make mine maybe i'm kid in love" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "maybe i'm kid in love oh, baby if it's falling in love" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "then don't ever wanna grow maybe i'm kid in love maybe i'm kid in love" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "oh, baby it'd fine if it's 2 of don't ever wanna grow up" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "'cause got oh, oh, oh, oh, oh, oh , got , don't ever wanna grow up" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "'cause got oh, oh, oh, oh, oh, oh , got , don't ever wanna grow up" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "you make me feel got all, yeah , make me feel i'm kid in love" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "and make me feel got , make me feel don't ever wanna grow up" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "maybe we're kids in love maybe we're kids in love oh baby if it's like" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "falling in love don't ever have grow maybe we're kids in love" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "maybe we're kids in love oh baby when we're alone , it's 2 of us" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "i can't enough i've got all, yeah i've got all, yeah" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "and i've got it, , i've got , i've got it, , we've got , i've got it," wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "and i've got don't ever wanna grow up" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "song: kid in love | shawn mendes" wscript.sleep 1000 wshshell.sendkeys "/msg" + username + "sent minemessage (r) - kittens643" 

it supposed message player in minecraft song, code faulty. have not done vbscript since last year, hard. / not allowed or there little typo?

reading windows script host sendkeys method docs, characters allowed except unknown user's input.

however, set wshshell = wscript.createobject("wscript.shell") missing in code...

consider testing notepad instead of minecraft: code snippet outputs in 1 line.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -