TD 2.3 #IF commands

smoochy boys on tour

Xanan

LOMCN Veteran
Veteran
Loyal Member
Jan 5, 2006
1,203
10
144
A couple of things i need help with. Just to know if its possible.

Firstly, id like to know if its possible to tell if a characters got no items in his bag, or wearing. If like the npc to check the character has no items whatsoever. For example:

#IF
checkitemsb 1
checkitemsw 1
#SAY
You have items in your bag or your wearing them
#ELSESAY
You are carrying no items



Secondly is it possible to teleport all humans from a map to another. For example:

#IF
checkhum map1 10
checkhum map2 10
#ACT
movehum map1 > map 3 50 50
movehum map2 > map 3 50 50
#ELSESAY
There is not 10 people on each map.





I know these arnt the right commands, they are just examples so you kind of know what im trying to achieve. Any help is greatly appreciated.
 

^G0trex

Golden Oldie
Golden Oldie
Nov 7, 2003
1,946
28
155
Bham
You could use the CHECKBAGSIZE and CHECKUSEITEM commands.

As for the second question I don't know but I don't think so.
 
Upvote 0