wolis:
Thanks for the help!
I actually did a bit of research and found out on my own that I have to put the command to be called in double quotes.
Also, I had already figured out through experimentation that [$actor] gives the actor's name while $actor simply gives the ID. I did the map thing, remember? :P
Also, I like obfuscating my code. It helps when you're making secret stuff.
Also, while doing research I found something interesting: when looking for the code to execute commands, COW first looks inside the player, then in the room, then anywhere in COW. So, to hide text from a player, you could theoretically copy the script from read, make another read command, paste the script from the other one (changing it so that it won't let you read text from some specified objects), hide it and then put it on top of itself so it won't be detected. There's probably an easier way, but not one I can think of.
Also, I didn't do getgender because the script is specific to the one person (who in the plot is female), and I don't really plan on using it for anything else or changing that person's gender.
And I know I can set variables; I tend to look at the scripts of objects I encounter to see how they work.
Also: Could something like this be possible?
if target of use then isused;
##isused:
var $objname = "$init_obj-marker";
call "create a $objname. put it on it";
Then, if I use the object, and my id is 123456, it would create an object called "123456-marker" and put it on itself in whatever location I'm in. This would hide it from view but still make it findable, so another part of the object's script could have a feature that finds the markers later, to notify me of where I've been. This probably won't work for some reason, but whatever.
Thanks again,
DragonMC