Crossfire Server, Trunk
find_by_arch_name.py
Go to the documentation of this file.
1 import Crossfire
2 
3 who = Crossfire.WhoAmI()
4 pl = Crossfire.WhoIsActivator()
5 msg = Crossfire.WhatIsMessage()
6 
7 found = pl.CheckArchInventory(msg)
8 
9 who.Say('check for find_arch_by_name')
10 
11 if (found != None):
12  who.Say('found %s'%found.Name)
13 else:
14  who.Say('didn\'t find %s'%msg)