Zelgadis
MinotaurReaper
Registered: Mar 2001
Location: Berlin, WI
Posts: 2447 |
remorteval takes the funtion to run as a string itself.
so in essence you are getting causgt up in quotes in quotes in quotes.
bindCommand(keyboard0, make, "-", TO, "remoteeval(2048, \"say(0, \\\"#global AFK for a couple\\\");\");");
bindCommand(keyboard0, make, "0", TO, "remoteeval(2048, \"say(0, \\\"#steal\\\");\");");
bindCommand(keyboard0, make, "9", TO, "remoteeval(2048, \"say(0, \\\"#global Back guys\\\");\");");
i know it gets tricky. evertime a string is parsed \" becomes " and \\ becomes \ so to actually get a " in a third generation quote you ned \\\"
but why bother? im sure say() will work without remoteeval. well not positive actially or i wouldnt have bothered with the quote speech.
bindCommand(keyboard0, make, "-", TO, "say(0, \"#global AFK for a couple\");");
bindCommand(keyboard0, make, "0", TO, "say(0, \"#steal\");");
bindCommand(keyboard0, make, "9", TO, "say(0, \"#global Back guys\");");
Report this post to a moderator | IP: Logged
|