2 Params=Crossfire.ScriptParameters()
3 whoami=Crossfire.WhoAmI()
5 if whoami.Name==
"Magic Lever":
6 Arch=whoami.Map.ObjectAt(49,2)
7 elif whoami.Name==
"Buildable Lever":
8 Arch=whoami.Map.ObjectAt(49,3)
9 StartXY=Params.split(
":")[0].split(
',')
10 StopXY=Params.split(
":")[1].split(
',')
11 Width=int(StopXY[0])-int(StartXY[0])
12 Height=int(StopXY[1])-int(StartXY[1])
14 XRange=range(int(StartXY[0]),int(StopXY[0]))
15 YRange=range(int(StartXY[1]),int(StopXY[1]))
17 Object=Map.ObjectAt(X,Y)
25 whoami.Value=int(whoami.Value==1)
49 TmpArch.Teleport(whoami.Map,i,a)
56 whoami.Say(
"Arch not found at "+str(i)+
","+str(a))
62 t=whoami.Map.ObjectAt(i,a)