Re: Wizcommands

From: Peter d (death_comes_to_all@hotmail.com)
Date: 09/14/02


>Im adding the zap command, but i wanna prevent other
>imps from zapping me, what can i do?
>
>/* This is a normal else if */
>   else if ((vict) == (ch))
>     send_to_char("Now that's just plain
>foolishness!\r\n", ch);
>
>What would a Else if look like checking if the command
>is being use on my name, returning a message saying
>you cant zap the owner of the mud ?

make an
else if (GET_IDNUM(vict) == 1)
send_to_char("whatever you want here!", ch);

the owner of the mud, or should i say the first player ever to walk the mud
always has the idnum 1.

_________________________________________________________________
På MSN hittar du det roliga, intressanta och användbara på internet:
http://www.msn.se

--
   +---------------------------------------------------------------+
   | 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