Re: Recall Command

From: Todd A Laycock (tlayco1@uic.edu)
Date: 01/10/02


On Thu, 10 Jan 2002, Bejhan Jetha wrote:

> On Thu, 10 Jan 2002, Welcor wrote:
>
> >-    else (GET_LEVEL(ch) = 99) {
> >+    else if (GET_LEVEL(ch) = 99) {
>
> >You do know that's going to set people to level 99, right?
>
> >Perhaps you want '==' instead?
>

[ Snip! ]

>    else if (GET_LEVEL(ch) >== 91) {

Try >= instead of >==

>     send_to_char("Recalling for FREE, courtesy of Immortal
> Transportation...\r\n", ch);
>     act("$n concentrates and disappears.", TRUE, ch, 0, 0, TO_ROOM);
>     char_from_room(ch);
>     char_to_room(ch, r_immortal_start_room);

[ Snip! ]

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT