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
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 5:12 am   

3.62 to 6.16 HELP!!!!!
 
well i guess i better start with what is going on... okay i have a friend that is how you say cheap... he does not want to spend money on updateing to the new version 6.16(not beta) and i did...he has alot of kick ass triggers, alias',macros' and so on but he is 3.62 and will not update... i am 6.16...and i was wanting to get all of his triggers,alias', macros, and so forth. when i tryed to export his stuff.. and put in im mine(6.16) it did not take all of the stuff... that is my problem.. how can i get the stuff from 3.62 to 6.16 with out losing anything... any ideas on want i can do?
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 5:23 pm   
 
well, i think i figure out how to do it.. i just have to change a few things and i know i am getting some syntax errors which i will have to ask for some help on fixing.. but other then that i think I got it all changed over
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 5:38 pm   
 
okay not i just need help fixing all this syntax... so time to copy and paste:

#IF {@Xgroup = 1} 'split %1' '#AD Xgold %1'
^ syntax error

#IF {@devour = 1} 'dev corpse'
^ syntax error

#IF {((@Xautofight = 1) & (@Xsweep = 1) & (@Xmobstatus = 1))} 'sweep'
^ syntax error

#IF {%1 < 160} '#CW {yellow}'
^ syntax error

#IF {(@maxmp - @mp) > @mpregen} 'even'
^ syntax error

#IF {@even = 0} 'st'
^ syntax error
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 5:41 pm   
 
#IF {%1 <= 250} '#CW {yellow}'
^ syntax error

#IF {'%1/%2' != @@Yaverage} '#CO red'
^ syntax error
that's all i'm going to post for now.
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 5:46 pm   
 
okay where the ^ syntax error thing is it is not where it points on zmud...guess i better start previewing it befor i post..
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Tue Sep 17, 2002 7:19 pm   
 
Start by putting all your #IF commands in round brackets:

#IF (@Xgroup = 1) 'split %1' '#AD Xgold %1'
etc..
That should get rid of the syntax errors.

Lady C.
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 9:04 pm   
 
i think the { } are fine there the syntax error points is at the ' in
#IF {@Xgroup = 1} 'split %1' '#AD Xgold %1'
..........................^ syntax error
i think i got it line of right useing the period's instead of spaces. find out after this is posted
Reply with quote
snoogans
Novice


Joined: 28 Oct 2001
Posts: 43
Location: USA

PostPosted: Tue Sep 17, 2002 9:49 pm   
 
listen to the gurus :) the correct syntax for #IF statments is

#IF (@Xgroup = 1) {split %1} {#AD Xgold %1}
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Sep 17, 2002 10:49 pm   
 
The last one you posted will be hard because it is a matter of mismatched (), {}, or "" somewhere else in the alias. I think you may have screwed up while converting an #IF somewhere above that line.

#EXEC #SH .....
should be done as
#EXEC "#SH ....." or #EXEC {#SH ......}
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Tue Sep 17, 2002 11:06 pm   
 
quote:
The last one you posted will be hard because it is a matter of mismatched (), {}, or "" somewhere else in the alias. I think you may have screwed up while converting an #IF somewhere above that line.

#EXEC #SH .....
should be done as
#EXEC "#SH ....." or #EXEC {#SH ......}




meaning....
 #EXEC "#SH %%1 = %eval(%%1)"


because the syntax went away after i i the " "

V6.16
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Wed Sep 18, 2002 2:25 am   
 
Well.. I think i got it all worked out. too me a day but i think it will work now...unless i come across something that is not working.. i am done with this...
Thanks to those that helped..

V6.16
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Wed Sep 18, 2002 5:33 am   
 
well... there are still a lot of stuff that is missed up when i tryed to run stuff...So any one mind helping me out on coverting a .mud file from the free zmud(at least i think it is the free one) to 6.16?

V6.16
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Sep 18, 2002 5:06 pm   
 
There have been a lot of changes from 3.62 to 6.16. These include many, many additions
to increase the program's power, as well as many, many additions to improve its ease of
use.

You'd probably be a lot better off to start from scratch. That is, just use the "old"
script to give you ideas about "what" to do, not "how" to do it.

LightBulb
Senior Member
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Wed Sep 18, 2002 6:45 pm   
 
That is why i need help on doing that.. i do not know how to do a lot of the stuff that is done with the old... all i know are basic trigers, buttons, alias, and a very few things on variables. the rest of the stuff like alarms and ifs i can't figure out how to set them up and how they work. that why i am asking for help on makeing a new one from the old one.

V6.16
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