Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
jroper73
Novice


Joined: 03 Aug 2006
Posts: 30

PostPosted: Sat Jun 09, 2007 3:24 am   

Aliases calling Aliases across Modules
 
Each char I have has some settings in a "window"

Then a I have global Module that all my characters share

I got it work so I can add an alias to the global module and it works. But if the global module tries to call an alias in the local window, it fails. Example

Global Module
#alias {rrr} {use insignia} {utils} "this is in a class UTILS under the global module"
#alias {gotoff} {gotoms;.5wu5wn} {dirs} "this is in a class DIRS under the global module"


Local Window for a given char
#alias {gotoms} {rrr;d}

rrr works
gotoms works
gotoff does not - does not seem to see gotoms

Asbestos
ncmud.org
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Jun 09, 2007 3:40 am   
 
This is intentional behaviour. Settings inside windows aren't available outside that window (except when you refer to variables explicitly anyway).

The easiest way to handle this, I think, is to have another global module, but stored with the window instead of in a separate, shared package.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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