Aaron J. Millis wrote: >>Ok >>I want to change the original levels of certain god commands, >>ie. I want load to be a 32+ command rather than 31. >>Where in the code do I change it, and >>what exactly do I do? >> >>Thanks alot. >>If anyone has any documentation on this, I'd appreciate it. >> >> >> __ __ __ __ __ >> / /\ / /\ / /\ / /\ /_/\ Aaron J. Millis >> / / \ / / \ / / \ / / \ _\ \ \ aaron@wpi.edu >>/_/ /\ \/_/ /\ \/_/ /\ \/_/ /\ \/_/\_\ \ (508) 791-6962 >>\ \ \/ \ \ \/ \ \ \/ /\ \ \ \ \ \ \ WPI Box 2832 >> \ \ /\ \ \ /\ \ \ __ \ \ \_\ \ \ __ \ 100 Institute Road >> \ \ \_\/\ \ \_\/\ \ \_\/\ \ \/ /\ \ \_\/ Worcester, MA 01609 >> \ \ \ \ \ \ \ \ \ \ \ / \ \ \ >> \_\/ \_\/ \_\/ \_\/ \_\/ >> >> Look in interpreter.c: In the COMMANDO macro you can decide the lowest level allowed to use a certain command. Example: COMMANDO(41 , POSITION_SLEEPING, do_echo , LEVEL_IMMORT, 0) If you want this command allowed only by lev +32: COMMANDO(41 , POSITION_SLEEPING, do_echo , LEVEL_GOD, 0) Now lev only +32 can use this command. Mvh AkeJo -- \\\\ ?!?!.. (o o) /--------------------------oOO-(_)-OOo-----------------------------\ | Ake Jonsson |Snailmail: Ake Jonsson | | University of Skovde, Sweden | Stora Bergsgatan 13 A | |-------------------------------| 545 33 Toreboda, Sweden| | Email:sv0akejo@ida.his.se | Phone: +46 (0)506-10385 | \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
This archive was generated by hypermail 2b30 : 12/07/00 PST