In an attempt to design a DG script, one of my builders came up with the following problem. When a players enters the room after a god on the following dg script, the wrong commands are being sent to the player... Here's the DG-Script: Where's the problem ? Type: Greet if ( %direction% == north ) if ( %actor.level% > 89 ) bow %actor.name% say I am at thy service my lord... halt elseif (%actor.level% == 1) say The Quest of %actor.name% has been fulfilled... tell %actor.name% Your quest has only just now begun... mload obj 200 give sword %actor.name% say Take thy new found weapon, and be off with you. halt end elseif (%direction% == east) if (%actor.level% > 89) say This chamber is blessed by your presence my lord. bow %actor.name% halt elseif (%actor.level% < 90) say Thy presence here is highly disdained... This is sacred ground... say be off with you! mteleport %actor.name% 203 mecho The old man makes a gesture with his hands, and %actor.name% dissapears. halt end end +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST