 |
Renegade Beginner
Joined: 25 Oct 2006 Posts: 14
|
Posted: Wed Dec 13, 2006 10:15 pm
Drag and drop |
I copied a target alias and variable into a second folder and it quit working in the original folder. It is marked as global...what happened?
seconly...is there still going to be a modifacation of the ` key? Tho I can physically enter a command by ``, it doesnt work if I use that in aliases etc.
Both programs (CMud and my front end) use the same key to enter commands. |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 13, 2006 10:31 pm |
` should still work in scripts, since the ` is just a command-line thing.
And I think you need to be more specific about what you mean when you say "folder" - do you mean a class, a window or a module? The "global" option only matters if the script is in a separate package to the window that's trying to refer to it. |
|
|
 |
Renegade Beginner
Joined: 25 Oct 2006 Posts: 14
|
Posted: Wed Dec 13, 2006 10:51 pm |
no..if I make an alias useing ``s3 only s3 is displayed. The `` is lost somewhere.
I have several oddities with these modules. I create a few..one as common, one as names (friend or foe thing) , one for fighting... I copied my set of commands for targeting from common to fighting...then they quit workinig. The other thing that happens is it auto generated a keypad and english directions class....Maybe its supposed to but I didnt have those boxes checked since i didnt know what it was for. But I saw they were unchecked, |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 13, 2006 10:59 pm |
The checkboxes there are to control which packages are visible to that module. It's for when you've got lots of packages doing lots of different things, but if you're only using one package it shouldn't be a problem.
These modules you're creating are in the same package, right? |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Dec 14, 2006 7:20 am |
` isn't just for the command line...it works in scripts too. I'll see if I can add an option to change it, but I might not get this done before the public release.
As far as copying an alias...if you *copy* it to antoher folder, then you now have two aliases with the same name. Which should it use? CMUD might be confused. And you said something about "marked as global". I don't know what you mean by this. Did you get your terms mixed up and did you copy it to a *module* instead of a *class folder*. A *module* is the only thing that should have a "global" flag.
Anyway, you'll need to give me the exact step-by-step procedure to reproduce what you are doing.
The English Directions and English Keypads are default packages that are loaded. If you Edit your session from the main session screen and go to the Files tab, you will see a list of packages to be loaded with your session. In your Preferences in the Packages tab of the Scripting page you can set which packages are loaded by default with new sessions.
Please read the help file sections about packages/modules/terminology/etc. |
|
|
 |
|
|