About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Renegade
Beginner


Joined: 25 Oct 2006
Posts: 14

PostPosted: 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.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Renegade
Beginner


Joined: 25 Oct 2006
Posts: 14

PostPosted: 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,
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net