Skip to main content

IFTYPE4

Keywords: IFTYPE4
The argument $* refers to any of the variables which make sense for that if_check (i.e. for an if_check which is referencing a person the only valid variables would be $i, $n, $t, $r or $q). A value type of string is a sequence of characters. It does not need to be included in quotes or anything like that (i.e. if name $n fido ) Type 4: Keyword, actor and value affected $* 'affect' Is $* affected by 'affect' act $* 'act' Is $*'s ACT bit 'act' set off $* 'off' Is $*'s OFF bit 'off' set imm $* 'imm' Is $*'s IMM bit 'imm' set carries $* 'name' Is $* carrying object 'name' wears $* 'name' Is $* wearing object 'name' has $* 'type' Does $* have object of item_type 'type' uses $* 'type' Is $* wearing object of item_type 'type' name $* 'name' Is $*'s name 'name' exactname $* 'name' Is $*'s name 'name' pos $* 'position' Is $*'s position 'position' (sleeping etc.) clan $* 'name' Does $* belong to clan 'name' race $* 'name' Is $* of race 'name' class $* 'name' Is $*'s class 'name' objtype $* 'type' Is $*'s item_type 'type' sector $* 'sector' Is the room's sector type where $* is area $* 'full exact name of area' Is the area's name 'area's name' where the $* is has $* 'token's vnum' Is $* carrying the token with that vnum roomflag $* dark Is dark the room where $* is