Re: [Circle] dimension door

From: Frag (frag@earth.global.net.au)
Date: 08/18/96


On Sun, 18 Aug 1996, Brian Williams - Nashak wrote:

> well, I had this spell working, don't know what messed it up, here is the 
> code
> ASPELL(dimension_door)
> {
>   if (ch == NULL || victim == NULL)
>     return;
> 
>   if (IS_NPC(victim)) {
>     send_to_char(SUMMON_FAIL, ch);
>     return;
>   }
>   act("You step into a door, and it leads you elsewhere.", TRUE, ch, 0, 0, TO_CHAR);
>   act("$n steps into a door, and the door vanishes.", TRUE, ch, 0, 0, TO_ROOM);
> 
>   char_from_room(ch);
>   char_to_room(ch, victim->in_room);
> 
>   act("$n steps out of a door, and the door vanishes.", TRUE, ch, 0, 0, TO_ROOM);
>   look_at_room(victim, 0);
                 ^^^^^^ y r u making the vict look at room ??
> }
> 

Well wot i sed above.. neway thats wot jumped out at me when i looked
so if not that well u get that...

hope it helps

Frag

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST