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
Virus
Wanderer


Joined: 29 Jun 2002
Posts: 69
Location: USA

PostPosted: Thu Feb 13, 2003 2:01 pm   

Functions
 
Is it possible to make GLOBAL functions? Ones that work for ALL site and not just 1?

Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com
Reply with quote
Drylar
Wanderer


Joined: 04 Nov 2001
Posts: 53
Location: USA

PostPosted: Thu Feb 13, 2003 3:18 pm   
 
For all site... do you mean for all the muds you connect to? All windows open? Please explain what you mean by global and all site.

-Drylar
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Thu Feb 13, 2003 4:39 pm   
 
absolutely it is. in the settings menu select "global..." the settings you save here will go to the global.mud file, and should be universal across characters and sites.

--------

moon.icebound.net:9000
Reply with quote
Virus
Wanderer


Joined: 29 Jun 2002
Posts: 69
Location: USA

PostPosted: Thu Feb 13, 2003 5:15 pm   
 
Ok, emit found what I was looking for. Now what I need to do is store functions there if its possible. The onyl way I know to make a function is with the #FU command in either the command line or the editing window. When I open the Setting for global.mud like emit said, I cant do that. Any suggestions?

Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Feb 13, 2003 5:18 pm   
 
Create the funciton using the #FUNC command. Then open your settings and the global settings. Drag & drop the function to the global settings. The function, should like like any other variable.

By the way, I believe that just creating a variable in the settings editor which uses %1..%n in the value will make it a user-defined function.

Kjata
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