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


Joined: 24 Jun 2003
Posts: 8
Location: USA

PostPosted: Tue Sep 23, 2003 10:08 am   

Gate Post
 
I have a script that creates a gate post, it keeps track of the mob name, the room and area that I am in. That way when I want to return to my gate post my mapper will know what room I left off in. This script worked fine in 6.40 but when I upgraded to the 6.62 my scripts no longer kept track of the room number. Here is the scripts:

#CLASS {Post}
#ALIAS post {c summon "%-1";post.Zone = %zonename( );post.Room = %roomnum( );post.Mob = "%-1";#ECHO -------------Post Info---------------;#SHOWDB @post;#ECHO -------------------------------------}
#ALIAS return {c gate @post.Mob;#TELEPORT @post.Room @post.Zone}
#VAR post {RoomZoneArabian Clan HallMobsorbus}
#CLASS 0

I have tried changing the roommode to 0 and 1 but that has no effect on my scipt what-so-ever.

Can you help? Thanks.

Mylo
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Sep 30, 2003 7:20 am   
 
If you can't get %roomnum to work, perhaps you could use another function such as %roomname or %roomid.

If there's no longer a simple method of obtaining the room number, a bug report might be worthwhile.
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