View Full Version : Crosscharcom
Danical
07-02-2008, 05:47 AM
So, how do I a script to ";send to crosscharcom <target> <action>" so the game recognizes it?
Methais
07-02-2008, 06:48 AM
I DON'T FUCKING KNOW OKAYY?!?!?!?!?!!?
Danical
07-02-2008, 06:52 AM
OKAYYYYYY
Methais
07-02-2008, 02:40 PM
I'M GLAD WE WERE ABLE TO SETTLE THIS LIKE CIVILIZED ADULTS. NOW LET'S HAVE SEX OKAYY?!?!?!?!
Danical
07-02-2008, 03:39 PM
WAS IT GOOD FOR YOU?
Methais
07-02-2008, 04:16 PM
http://bp2.blogger.com/_eHMlZfrJmJ0/R7hRpWOX-xI/AAAAAAAABHM/H1Jte5PRCbI/s320/moneky.jpg
I think this was the most helpful thread I have ever read in the scripting discussions category.
Shaelun
07-02-2008, 07:42 PM
So, how do I a script to ";send to crosscharcom <target> <action>" so the game recognizes it?
# I have absolutely no idea why I felt it necessary to make the sending script echo what it sends to the user... so toggle echoing off & then back on
toggle_echo
send_to_script("crosscharcom", "a line", "another line", "as many as you want (or just one)")
toggle_echo
Danical
07-02-2008, 07:58 PM
Wait, is that in the Crosscharcom file?
Because it's not in mine . . . or have I missed it somehow.
Danical
07-02-2008, 08:06 PM
I'm retarded :(
toggle_echo
send_to_script("crosscharcom", ";send to crosscharcom leokar say OKHI")
toggle_echo
>;test
--- Lich: test active.
[test: send to crossc was not found!]
--- Lich: test has exited
Shaelun
07-02-2008, 08:16 PM
Er... okay, using that exact example, this is what you'd need to do:
send_to_script("crosscharcom", "leokar say OKHI")
You'll see what I mean about the echoing once you run that without the toggle_echos.
Danical
07-02-2008, 08:23 PM
toggle_echo
send_to_script("crosscharcom", "leokar say OKHI")
toggle_echo
[crosscharcom: leokar linked]
>;test
--- Lich: test active.
[test: send to crossc was not found!]
--- Lich: test has exited.
Renian
07-02-2008, 08:38 PM
;test2
--- Lich: test2 active.
[test2: Sent to crosscharcom -- 'thalish say hello']
--- Lich: test2 finished.
;send to crosscharcom thalish say hello
--- Lich: sent to 'crosscharcom' ('unique' stack): thalish say hello
Thalish says, "Hello."
THIS IS MADNESS
Stretch
07-02-2008, 08:39 PM
lol @ puppet characters
Shaelun
07-02-2008, 09:28 PM
Thanks Renian, I'd forgotten: for crosscharcom, you need to be using...
unique_send_to_script("crosscharcom", "thalish say hello")
BTW, are you absolutely positive that you're running the right file, Vulv? Because the error you're getting isn't what it should be saying, if the script really is what you're pasting. I'm staring at the source, and it should be saying [test: crosscharcom does not match any active scripts!]
Danical
07-02-2008, 09:34 PM
>;send to cross leokar jump
--- Lich: sent to 'crosscharcom' ('unique' stack): leokar jump
Leokar leaps into the air and lands hard on the ground with both feet. A large cloud of ash billows up around him.
toggle_echo
unique_send_to_script("crosscharcom", "leokar jump")
toggle_echo
>;test
--- Lich: test active.
[test: send to crossc was not found!]
--- Lich: test has exited.
SF thing?
Shaelun
07-02-2008, 09:35 PM
Paste this into your game window:
;exec unique_send_to_script("crosscharcom", "leokar bow")
Renian
07-02-2008, 10:11 PM
On Thalish:
;exec echo unique_send_to_script("crosscharcom", "Sirac say Hi.")
--- Lich: exec1 active.
[exec1: sent to crosscharcom: Sirac say Hi.]
[exec1: true]
On Sirac:
[crosscharcom]>Sirac say Hi.
Please rephrase that command.
However, upon using lowercase:
;exec echo unique_send_to_script("crosscharcom", "sirac say Hi.")
--- Lich: exec1 active.
[exec1: sent to crosscharcom: sirac say Hi.]
[exec1: true]
--- Lich: exec1 has finished.
Sirac says, "Hi."
Odd. But working!
Shaelun
07-02-2008, 10:37 PM
Silly bug... fixed the script and put it on the repository if you want to update.
Danical
07-02-2008, 10:53 PM
This is weird.
>;exec unique_send_to_script("crosscharcom", "leokar jump")
--- Lich: exec1 active.
[exec1: sent to crosscharcom: leokar jump]
--- Lich: exec1 has finished.
>;test
--- Lich: test active.
[test: send to crossc was not found!]
--- Lich: test has exited.
toggle_echo
unique_send_to_script("crosscharcom", "leokar bow")
toggle_echo
Shaelun
07-02-2008, 11:20 PM
I'm assuming you're saying it's weird because you have what you think is the "test" script that Lich is running open in notepad or something, right?
There are only a couple of possible causes for the behavior you're seeing:
1. You've forgotten to save the file.
2. The file that Lich is running is not the same file you're looking at.
3. You're currently occupying a region of spacetime where particles with definite mass are able to exceed the speed of light, thereby negating cause-and-effect as we know it, or where the laws of physics are otherwise uniquely whacky.
I dunno what to tell ya... the file you're running by typing ;test does not contain what you're pasting (or it contains more than what you're pasting) -- the code in your example wouldn't echo anything at all, let alone what's being echoed.
BigWorm
07-03-2008, 12:36 AM
I am getting permission errors if I try to use the code tag in this thread.
Danical
07-03-2008, 12:38 AM
I got it to work, I have no idea what the problem was.
I restated my computer . . . three times . . . like the web d00d said to do.
EDIT: THANKS FOR ALL THE HELP :hug:
BigWorm
07-03-2008, 01:18 AM
Since it looks like you've got your problem solved, and it required a bug fix, I thought this would be as good of a place as any to post a modified version of crosscharcom that allows it to run scripts on other characters. This can be done with aliases using the exec feature in crosscharcom, but I find this to be much more convenient. I diffed my copy with the new version in the repo, so it should have the bug fix. I am posting it as an attachment because I can't use the code tag and only Shaelun can update this script in the repository.
Use this feature like:
;send to crosscharcomm OtherCharacter ;script_name
Renian
07-31-2008, 10:09 PM
Bumped for two reasons.
1. Shaelun hasn't updated the repository with this sweet addition.
2. Bigworm, there's a problem with the sweet edition. You cannot have variables that are larger than one word, which you can normally do with quotes.
Necrodeus
05-06-2017, 04:24 AM
wish there was someone who did more work on these scripts
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.