snippet SPHERE/coptyto(dig)

From: Wes Young (Hellri1308@aol.com)
Date: 04/24/00


Hi
FIrst time posting so i hope i did this right.
I'm having problems with spheres.txt snippet and copyto.txt snippet
well error so far with snippet spell_spheres.txt is
Then, in the function do_cast, add the following checks after the check if
you have enough mana.

if (SPHERE(ch, FIRE) < SINFO.fire) {
  send_to_char("The message you like to have.\r\n", ch);
  return;
}
if (SPHERE(ch, WATER) < SINFO.water) {
  send_to_char("The message you like to have.\r\n", ch);
  return;
}
if (SPHERE(ch, AIR) < SINFO.air) {
  send_to_char("The message you like to have.\r\n", ch);
  return;
}
if (SPHERE(ch, EARTH) < SINFO.earth) {
  send_to_char("The message you like to have.\r\n", ch);
  return;
}

did all the rest this seems be the only error when compiled i get error
message
parse error before "if"
parse error "<"
------------------------------------------------------------------------------
--------------------------------------

k now for copyto.txt snippet
i have circle30bpl15 with trappsrc (src that comes with auto OASIS_OLC v.2( I
think )) well in dig/copyto command it has

/* Only works if you have Oasis OLC */
extern void olc_add_to_save_list(int zone, byte type);

 olc_add_to_save_list
but OASIS doesnt have that defined or assigned or anything i'm wondering what
i can change it to, to make it work ...

any help would be apprecaited...i pretty much can find mistakes fixing um on
the other hand is a problem...

        Crack in the Earth


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT