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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Vanir
Newbie


Joined: 30 Sep 2006
Posts: 4

PostPosted: Sat Sep 30, 2006 7:27 pm   

button size or position from variable value
 
Hi.

I have a problem with creating button in position or size specified in variable

for example
#button {id} ... {autoPos} {@var1} {@var2}

in documentation if autopos is not null position is gotten from next two values, but when inserting there vars it doesnt work.

Also tried <@var1> and without {}
I have not registered version of zmud yet, is it the cause?

thanks for help
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Sep 30, 2006 7:42 pm   
 
More likely those two values have to be literal numbers rather than variables. Nothing in ZMud or CMud (well, insofar as coded features go) is disabled for the trial period, so what you can do in the first 30 days is what you can do for the life of the program.
_________________
EDIT: I didn't like my old signature
Reply with quote
Vanir
Newbie


Joined: 30 Sep 2006
Posts: 4

PostPosted: Sat Sep 30, 2006 8:15 pm   
 
So it is impossible to make buttons in variable size without making a special plugin for this? (what is not available in trial version ;) )

edit:
ok i've found sollution

make alias with parameter wchich makes button
for example:
alias test
alias body: #button {id} ... {autoSize} {%1} {%2}

test <@var1> <@var2> from command line

makes button in desired size

thanks for help
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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