> act() > 1) Does anyone have, or know of a place with documention regarding the > above? The code. (= > act("You find a weakness in $N's defenses!", FALSE, 0, 0, victim, > TO_CHAR); You need a 'ch' in here... in place of the first '0'. > act("$n finds a weakness in your defenses!", FALSE, ch, 0, 0, > TO_VICT); A 'victim' in here in place of the second '0'. > act("$n finds a weakness in $N's defenses!", FALSE, ch, 0, victim, > TO_ROOM); This one's fine... Essentially it works like this: act(Message, can_see check, "ch", "misc", "vict", target) TO_CHAR sends the message to the "ch", TO_VICT to "vict", TO_ROOM to the room that ch/vict are in, and TO_NOTVICT to all in the room except "vict". Now, "ch" uses the small lettered act variables ($n, $e, etc), "vict" uses the big ($N, $E, etc), and "misc"... read the code. (= Ae. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST