4 whoami=Crossfire.WhoAmI()
5 guildname=Crossfire.ScriptParameters()
8 while (object.Type != 1) :
14 activator=Crossfire.WhoIsActivator()
22 ob1=map.ObjectAt(33,24)
23 ob2=map.ObjectAt(33,26)
25 for object
in objects:
29 players.append(activator)
31 for player
in players:
32 names.append(player.Name)
35 Crossfire.Log(Crossfire.LogInfo,
'%s,%s and %s found guild %s' %(names[0], names[1], names[2], guildname))
39 for player, name
in zip(players, names):
43 player.Teleport(map,
int(11),
int(16))
44 message =
"You have purchased the %s guild. Rule it wisely. (I would type 'save' right about now...)"%guildname
46 message=
"To purchase a guild requires one additional person to stand on the alcoves above."
48 message =
'To purchase a guild requires two additional persons to stand on the alcoves above.'
50 Crossfire.Log(Crossfire.LogError,
'Guild Purchase Error: %s, %s' %(guildname, activatorname))
51 message =
'Guild Purchase Error, please notify a DM'