|
||
I am also working on making a PDF Version of this page. This page last updated: Oct 2002 |
||
|
The IF Check Help Files
The SEX ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's gender.
The LEVEL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's level.
The STR ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of strength (taking into account their natural strength and that given by equipment and spells).
The INT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of intelligence (taking into account their natural intelligence and that given by equipment and spells).
The WIS ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of wisdom (taking into account their natural wisdom and that given by equipment and spells).
The DEX ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of dexterity (taking into account their natural dexterity and that given by equipment and spells).
The CON ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of constitution (taking into account their natural constitution and that given by equipment and spells).
The CHA ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of charisma (taking into account their natural charisma and that given by equipment and spells).
The LCK ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) is affected by a given amount of luck (taking into account their natural luck and that given by equip ment and spells).
The NAME ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char, mob, or object's name.
The RACE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the race of the target char or mob. Note: Please read help RACE, and help NPCRACES.
The CLASS ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target CHAR or MOB belongs to a specified class. Note: Please see help CLASS and help NPCCLASSES for a list of the valid char and mob class values.
The HPS ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob has a specific number of hitpoints.
The HITPRCNT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's hitpoint percentage.
The MANA ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's mana.
The GOLDAMT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob holds a specified amount of gold.
The POSITION ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the position of the target char or mob. Note: Please read help POSITIONNUMS (below). POSITIONNUMS
The AGE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the age of the target char in years.
The WEIGHT ifcheck can be used in MOB, OBJECT, ROOM programs to determine either the carrying weight of a target char or mob (the weight of what they are wearing, holding, and/or carrying in their inventory), or the weight of an object.
The HEIGHT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's height in 'inches'.
The ISGOOD ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob's align is +350 or more.
The ISEVIL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob's align is -350 or less.
The ISNEUTRAL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob's align is greater than -350 and less than +350.
The DRUNK ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char's drunk field is set to a specified number. Note: The range of drunk values runs from 1 to 100. 10 is the point where a char would see 'You are drunk.' in their scoresheet.
The HASPET ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char owns a pet. It will still return true if the pet is in another room.
The DEITY ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is devoted to a specified deity.
The ISDEVOTED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is devoted to one of the realm's deities.
The FAVOR ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char's favor is set to a specified amount. Favor ranges from -2500 to 2500.
The GUILD ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is a member of the specified guild. Note: The preferable
ifcheck to use is 'clan'. Please see help 'IFCHECK CLAN'.
The ISLEADER ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a char is either a leader, first, or second of any (or a specified) order, clan, or guild.
The COUNCIL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char belongs to a specified council. Note: Please see 'help councilnums' (RoD specific, below) for a list of the valid council 'short' names (ie. CoE for Council of Elders). Please note that using the numeric values will NOT work. COUNCILNUMS
When using ifcheck council($n) use the council name or abbreviation as listed above.
The CLAN ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the char belongs to the specified ORDER, CLAN or GUILD.
The ISCLANLEADER ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is the Leader (not first or second) of any (or a specified) order, guild, or deadly clan.
The ISCLAN1 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is the number one of any (or a specified) order, guild, or deadly clan.
The ISCLAN2 ifcheck can be used in MOB, OBJECT, or
ROOM programs to determine if the target char is the second of any (or
a specified) order, guild, or deadly clan.
The CLANTYPE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target belongs to a clan of the specified type. Note: Please see 'help clantypes' for a list of the valid clantype values (below). CLANTYPE CLANTYPES
The ISPKILL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is a deadly player. Note: While a player may be flagged as 'deadly', they may not be legally able to participate in pkilling if they aren't at the minimum age (18) and level (5). To see if they've met that requirement, use CANPKILL.
The CANPKILL ifcheck can be used in MOB, OBJECT, or
ROOM programs to determine if the target is 'legally' a deadly, which
means: Note: To see if a char is flagged deadly regardless of age/level, use ISPKILL.
The PKADRENALIZED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char has recently been, or is in a fight. This counter only works for DEADLY chars.
The ISHELLED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is helled. IFCHECK ISATTACKER IFCHECK ISKILLER IFCHECK ISTHIEF
The ISATTACKER, ISTHIEF, and ISKILLER ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char has been flagged as an attacker, thief, or killer.
The ISFLAGGED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob has been flagged with a particular variable, and has a given bit turned on. The format is: isflagged(<target>, <variable>, <bit testing for>) Note: If you want to check only for the _presence_ of a 'bit' flag, the ifcheck 'ISTAGGED' can be used.
The ISTAGGED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob has been tagged with a specified variable, and to test the value of that variable as well. When used with a numeric value, it can be tested using ">", "<", etc., as well. Note: While you can use ISTAGGED to check for the presence of a bitflag, you must use the 'ISFLAGGED' ifcheck to check the flag's value.
The PCFLAGGED ifcheck can be used in MOB, ROOM or OBJECT programs to determine if a player is flagged with the given flag.
The DOINGQUEST ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char's quest field is set to a specified number.
The RANK ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the rank of the target char. Note: Please note that ranks CAN be changed by imms, and this is not a reliable method to check for clan leaders, imms of certain levels, or nation leaders.
The GENRE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char's genre, or 'class group'. Note: See 'Help GENRE' for a list of possible values.
The ISNUISANCE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char has been 'nuisanced' (See 'help nuisance' on your MUD).
The ISNUISANCE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the level of nuisance the target char has reached (See 'help nuisance' on your MUD).
The ASUPRESSED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number of rounds the target char is supressed (unable to use attack commands or automatic attacks). Note: Please see 'Help MPASUPRESS' on your MUD.
The WAITSTATE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number of ticks of 'wait' or 'delay' affecting a char.
The IDLE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char has been idle a specified number of measurements.
The HOSTDESC ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is connecting from a specific host. The host id must be in ip form.
The MULTI ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is has other chars logged, or to determine the number of chars the target has logged into the game. Note: If at all possible, use AREAMULTI ifcheck as it only checks the current area and is less taxing on system resources.
The AREAMULTI ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is multying in the current area, or to determine the number of PCs the target has logged into the game that are in the area of the checker. Note: If at all possible, use this command before using the ifcheck 'MULTI', as it checks the entire mud.
The ISNPC ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target is a mob.
The ISPC ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target is a character (not a mob).
The ISIMMORT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char is an immortal.
The ISMOUNTED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target mob or char is mounted on another mob.
The ISRIDING ifcheck can be used in MOB programs to determine if the given variable is riding the mob. Note: Only the mob triggering the program will be checked for the rider $n. You cannot use anything like "if isriding($n)==8452". It will ignore the anything after the parentheses.
The ISFOLLOW ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is following another char or mob. Note: This will only return true if the char or mob being followed is also IN THE SAME ROOM.
The ISCHARMED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target mob is affected by charm.
The ISAFFECTED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is affected by the specified spell affect. This requires bitvectors, i.e. what a mob can be set as affected by. Note: For a list of affects, see 'Help AFFECTEDBY'.
The ISFLYING ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is flying.
The ISHUNTING ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is hunting someone.
The ISHATING ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is hating anyone, or a named victim.
The ISFIGHT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is fighting.
The NUMFIGHTING ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number of chars and/or mobs the target char or mob is fighting.
The TIMESKILLED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number of times the target char or mob has been killed.
The ISPACIFIST ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target mob is flagged as pacifist, and cannot be attacked.
The ISDEAD ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is dead before the end of the program.
The ACTFLAGGED ifcheck can be used in MOB programs to determine if a mob has the given actflag set. Note: See 'Help ACTFLAGS' for listing of flags.
The WEARING ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is wearing or holding equipment of any kind in the specified position. Note: Please see 'Help WEARLOCS'.
The WEARINGVNUM ifcheck can be used in MOB, OBJECT, ROOM programs to determine if the target char or mob is wearing or holding an object with the specified vnum. Objects in a mob or char's inventory will not be counted. Note: Do not confuse this ifcheck with OVNUMWEAR, which only works with the mob associated with the program. WEARINGVNUM _will_ check a specified char or mob.
The CARRYINGVNUM ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the victim (either a mob or a char) is holding a particular object in their inventory. Note: This ifcheck is not affected by the target's invisibility, or cloaking. The prog will still return the correct result even if the target is a 'someone' to them.
The CANSEE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target (either a mob or a char) can be seen. Note: Mobs should be affected by 'truesight' in order to be able to see all invis and hidden chars or mobs regardless of level.
The ISMOBINVIS ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target mob is flagged as 'mobinvis', meaning the mob is invisible to both pc's and non pc's.
The MOBINVISLEVEL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target mob's level of invisibility.
The INROOM ifcheck can be used in MOB, OBJECT or ROOM progs to determine the current room. Use the '$i' variable in all three cases.
The INAREA ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target char or mob is in a specified area. Note: Use 'zones' to determine the required area filename.
The MOBINROOM ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a mob of a given vnum is present in the room. Even if the checking mob cannot see the target mob due to level, affects, etc, this check will still return TRUE. Note: The lesser
of these commands should be used if at all possible.
The MOBINAREA ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a mob of a given vnum is present in the area. Even if the checking mob cannot see the target mob due to level, affects, etc, this check will still return TRUE. Note: The lesser
of these commands should be used if at all possible.
The MOBINWORLD ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a mob of a given vnum is present in the world. Even if the checking mob cannot see the target mob due to level, affects, etc, this check will still return TRUE. Note: The lesser
of these commands should be used if at all possible.
The MORTINROOM ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a specified char is in the room. Even if the checking mob cannot see the target char due to level, affects, etc, this check will still return TRUE. This ifcheck will NOT find immortals. Note: The lesser
of these commands should be used if at all possible.
The MORTINAREA ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a specified char is in the area. Even if the checking mob cannot see the target char due to level, affects, etc, this check will still return TRUE. This ifcheck will NOT find immortals. Note: The lesser
of these commands should be used if at all possible.
The MORTINWORLD ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a specified char is in the world. Even if the checking mob cannot see the target char due to level, affects, etc, this check will still return TRUE. This ifcheck will NOT find immortals. Note: The lesser
of these commands should be used if at all possible.
The WASINROOM ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the last room the mob or char was in, regardless of the means they used to get into the current room (ie. by walking, being transferred, entering from a portal, using magic such as astral, etc). Note: This information will not be saved on the char if they quit and relog.
The MORTCOUNT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if there is a given number of mortals in the specified room. Use 0 (zero) to check the current room.
Note: This ifcheck will NOT include immortals in its count.
The MOBCOUNT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if there is a given number of mobs in the specified room. Use 0 (zero) to check the current room. Note: If this ifcheck is in a MOB prog, it will NOT count itself as being in the room.
The CHARCOUNT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if there is a given number of chars OR mobs in the specified room. Use 0 (zero) to check the current room. Note: This ifcheck does NOT include immortals in it's result. Also, if it is in a MOB prog, it will NOT count itself as being in the room.
The SAFE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's room is flagged as being 'safe'. Note: Please read 'Help ROOMFLAGS'.
The NORECALL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's room is flagged as being 'norecall'. Note: Please read 'Help ROOMFLAGS'.
The NOASTRAL ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's room is flagged as being 'noastral'. Note: Please read 'Help ROOMFLAGS'.
The NOSUMMON ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's room is flagged as being 'nosummon'. Note: Please read 'Help ROOMFLAGS'.
The NOMAGIC ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's room is flagged as being 'nomagic'. Note: Please read 'Help ROOMFLAGS'.
The NOSUPPLICATE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target char or mob's room is flagged as being 'nosupplicate', 'nosupprecall', and/or 'nosuppcorpse'. Note: Please read 'Help ROOMFLAGS'.
The INDOORS ifcheck can be used in MOB, ROOM, or OBJECT programs to determine if the current room is either of sectortype 0 (indoors) AND/OR is flagged as 'indoors'. Note: If the program is triggered by a character, the varibles '$n' or '$r' can be used. However, for a rand program, '$i' should be used for MOB programs, and '$o' for OBJ programs.
The ISPASSAGE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a direction exists. Note: While "north" OR "n" can be used as the given direction to check, you CANNOT use numerical values.
The ISOPEN ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a direction exists, and is open. Note: While "north"
OR "n" can be used as the given direction to check, you CANNOT
use numerical values.
The ISLOCKED ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if a direction is locked. Note: While "north"
OR "n" can be used as the given direction to check, you CANNOT
use numerical values.
The OBJVAL0 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number that object value 0 contains. Note: Please read 'Help ITEMVALUES'. Also note that the use of "and" within programs is RoD-specific. IFCHECK OBJVAL1
The OBJVAL1 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number that object value 1 contains. Note: Please read
'Help ITEMVALUES'. Also
note that the use of "and" within programs is RoD-specific. IFCHECK OBJVAL2
The OBJVAL2 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number that object value 2 contains. Note: Please read 'Help ITEMVALUES'. Also note that the use of "and" within programs is RoD-specific. IFCHECK OBJVAL3
The OBJVAL3 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number that object value 3 contains. Note: Please read 'Help ITEMVALUES'. Also note that the use of "and" within programs is RoD-specific. IFCHECK OBJVAL4
The OBJVAL4 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number that object value 4 contains. Note: Please read 'Help ITEMVALUES'. Also note that the use of "and" within programs is RoD-specific. IFCHECK OBJVAL5
The OBJVAL5 ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the number that object value 5 contains. Note: Please read 'Help ITEMVALUES'. Also note that the use of "and" within programs is RoD-specific.
The OBJTYPE ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the object type number of the target object. Note: Please read 'Help OBJECTTYPES'.
The OBJINWORLD ifcheck can be used in MOB, ROOM or OBJECT programs to determine if an object of a given vnum is present in the world. Note: Please read 'Help OBJECTTYPES'.
The OVNUMHERE ifcheck can be used in MOB progs to determine of an object of the given vnum is on the floor of the room OR in the inventory OR being worn by the CHECKING MOB. If used in a ROOM or OBJECT program, it will ONLY check the FLOOR of the room. Note: This will NOT check for objects in containers.
The OVNUMROOM ifcheck can be used in MOB, OBJECT or ROOM programs to determine of an object of the given vnum is on the floor of the room. Note: This will NOT check for objects in containers.
The OVNUMWEAR ifcheck can be used in MOB programs only, to determine if an object of the given vnum is being worn by the CHECKING MOB. Note: This will NOT check for objects in containers.
The OVNUMCARRY ifcheck can be used in MOB progs to determine if a MOB is either wearing and/or carrying in its inventory an object of a given vnum. Note: This will NOT check for objects in containers.
The OVNUMINV ifcheck can be used in MOB programs to determine of an object of the given vnum is in the inventory of the CHECKING MOB. Note: This will NOT check for objects in containers.
The OTYPEHERE ifcheck can be used in MOB programs to determine of an object of the given type is on the floor of the room and/or in the inventory or being worn by the CHECKING MOB. If used in a ROOM or OBJECT program, it will only check the floor of the room. Note: This will
NOT check for objects in containers. Please read 'Help
OBJECTTYPES'.
The OTYPEROOM ifcheck can be used in MOB, OBJECT, or ROOM programs to determine of an object of the given type is on the floor of the room. Note: This will NOT check for objects in containers. Please read 'Help OBJECTTYPES'.
The OTYPEWEAR ifcheck can be used in MOB programs to determine of an object of the given type is being worn by the CHECKING MOB. Note: This will NOT check for objects in containers. Please read 'Help OBJECTTYPES'.
The OTYPECARRY ifcheck can be used in a MOB prog to determine if a MOB is wearing and/or carrying in its inventory an object of a given type. "0" (zero) can be used to determine if the mob is wearing and/or carrying ANY object. Note: This will NOT check for objects in containers. Please read 'Help OBJECTTYPES'.
The OTYPEINV ifcheck can be used in MOB programs to determine of an object of the given type is in the inventory of the CHECKING MOB. Note: This will NOT check for objects in containers. Please read 'Help OBJECTTYPES'.
The TIME ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the hour of the day in military time (ie. 14 is 2pm and 22 is 10pm, mud time, not real time). You can use the variable $i for room progs. Note: You can use OR or AND with ifchecks (RoD specific).
The ECONOMY ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target room's area's economy field is set to a specified amount.
The RAND ifcheck can be used in MOB, OBJECT, or ROOM
programs to return true at a 'random' percent of the time. For example,
if you wish for two sets of commands to occur with equal frequency, you
would use a program such as: Note: Please see 'Using Multiple Rand Programs'.
The LEVERPOS ifcheck can be used in MOB, OBJECT, or ROOM programs to determine the target object's lever position. Note: "up" is the ONLY parameter recognized by this ifcheck. Any other parameter will be treated as the equivalent of "down".
The NUMBER ifcheck can be used in MOB, OBJECT, ROOM programs to determine the vnum of the target mob or object.
ISHOT ifcheck checks the weather in the given room and returns TRUE if it is hot. This can be used in mob, obj, and room progs.
Use a zero room number if you want to have the mob, obj, or room prog test the current room.
ISCOLD ifcheck checks the weather in the given room and returns TRUE if it is cold. This can be used in mob, obj, and room progs.
Use a zero room number if you want to have the mob, obj, or room prog test the current room.
ISWINDY ifcheck checks the weather in the given room and returns TRUE if the wind is very strong. This can be used in mob, obj, and room progs.
Use a zero room number if you want to have the mob, obj, or room prog test the current room.
ISSNOWING ifcheck checks the weather in the given room and returns TRUE if it is snowing. This can be used in mob, obj, and room progs.
Use a zero room number if you want to have the mob, obj, or room prog test the current room.
ISRAINING ifcheck checks the weather in the given room and returns TRUE if it is raining. This can be used in mob, obj, and room progs.
Use a zero room number if you want to have the mob, obj, or room prog test the current room.
ISCALM ifcheck checks the weather in the given room and returns TRUE if the wind is calm. This can be used in mob, obj, and room progs.
Use a zero room number if you want to have the mob, obj, or room prog test the current room.
The MPSLEEP ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if one of the target char, object, or room's program is affected by mpsleep. Note: Please see Help MPSLEEP.
The STOPSCRIPT ifcheck can be used in MOB, OBJECT, or ROOM programs to determine if the target mob is flagged 'stopscript' and unable to run scripts. This flag can be toggled using the command MPMSET. [ Rooms
] [ Objects ] [ Mobs ] [ Resets ] [ Programs ] [ Resources ] [
FAQ ] |