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
dejaqkl
Newbie


Joined: 07 May 2003
Posts: 5
Location: USA

PostPosted: Tue Aug 19, 2003 8:23 pm   

need to make variables to do certain commands
 
not sure how appropriate it is for me to post here I dont use zmud I have a slow slow little computer and zmud laggs it so I use alclient which pales in comparison to zmud, it doesnt have #capture, #math, #write, #loopor #select commands, Im stuck using #variable, #if, #elseif, #while etc for my needs, anyways Im trying to find a way to write a variable that would emulate #loop and #capture also im trying to rewrite the following wintin script into alclient format

#alias {port} {selectport %1; portcurrent}
#alias {portcurrent} {channel 'travel' $currentport}
#alias {portdesc} {#loop {$portcodedesc} {#showme %0}}
#alias {nameport} {#push {portcodedesc} {%%0}}
#alias {resetcodes} {#var {portnum} {1};#var {portcodelist} {0};#var {portcodedesc} {-----------};#showme Port codes all reset;#showme}
#alias {selectport} {#var {currentportnum} {%%1};#select {portcodelist, next, $currentportnum} {#var currentport %0};showcurrentport}
#alias {writefile} {resetcodes;#write mira}
#action {%0 - %1 - [%2] - somewhere} {#push portcodelist {%%1}; #push portcodelist {%%2}; #math {portnum} {$portnum + 1}} {5}
#substitute {%0 - [%1] - somewhere} {%0 - $portnum - [ %1 %r}
#variable {currentport} {UVplcSAwIDU2YWU4ZDUzYmQgMTg=}
#variable {currentportnum} {108}
#variable {portcodedesc} {-----------}
#variable {portcodelist} {0}
#variable {portnum} {1}

and this zmud script into alclient also

#ALIAS tg {#fo @GroupMembers {diag %i}}
#ALIAS tg {#fo @GroupMembers {tell %i %-1}}
#TRIGGER {Your group consists of:} {#t+ Group}
#CLASS {Group} {disable}
#TRIGGER {^{o|*} * - (*): * > } {#t- Group}
#TRIGGER {^(%w) ~(Head of group~)} {#unvar GroupMembers;#additem GroupMembers %1}
#TRIGGER {^(%w)$} {#additem GroupMembers %1}
#CLASS 0
any help would be so much appreciated :)
Reply with quote
PrestoPimp
Apprentice


Joined: 18 Sep 2001
Posts: 175
Location: USA

PostPosted: Tue Sep 16, 2003 1:30 am   
 
If I were you I would go to the alclient site and see if they have forums there that you can ask your question on. Or as an alternative.. upgrade your computer to top-of-the-line equipment for around $300(w/o monitor) and then you can run zmud or whatever else you may not have been able to in the past and wont have to upgrade for another 2 years or more (depending on your usage and purpose)

Just some advice since you hadn't gotten a response.
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