forums wiki bugs items helps socials changes map login play now

SCRIPT3

General
[Continued from HELP SCRIPT2]

"wears",             if wears $n lantern      is $n wearing a 'lantern' 
                     if wears $n 1233         is $n wearing obj vnum 1233 
"has",               if has $n weapon         does $n have obj of type weapon
"uses",              if uses $n armor         is $n wearing obj of type armor 
"name",              if name $n puff          is $n's name 'puff' 
"pos",               if pos $n standing       is $n standing 
"cabal",             if cabal $n 'whatever'   does $n belong to cabal 'whatever' 
"race",              if race $n dragon        is $n of 'dragon' race 
"class",             if class $n mage         is $n's class 'mage' 
"objtype",           if objtype $p scroll     is $p a scroll 
"vnum",              if vnum $i == 1233       virtual number check
"hpcnt",             if hpcnt $i > 30         hit point percent check 
"room",              if room $i == 1233       room virtual number 
"sex",               if sex $i == 0           sex check 
"level",             if level $n < 5          level check 
"align",             if align $n < -1000      alignment check 
"money",             if money $n > 100        does char have more than 100 gold             
"objval0",           if objval0 $i > 1000     object value[] checks 0..4 
"objval1",
"objval2",
"objval3",
"objval4",
"grpsize",           if grpsize $n > 6        group size check 
"affspell",          if affspell $n 'bless'   check if affected by spell bless
"getdelay",          if getdelay > 1          check trigger owner delay
"iscarried",         if iscarried  $i         if object $i is carried 
"isworn",            if isworn $i             if object $i is worn 
"followers",         if followers $n > 6      charmies follower check 
"objcost",           if objcost $i > 1000     object cost 
"isbloody",          if isbloody $n           check if char is bloody