@name Auto respawner
@inputs Paster:wirelink PropCount
@outputs Spawn
@persist 
@trigger 
interval(1000)
if(Paster["PropCount",number]<2){
    Paster["Spawn",number]=1
    timer("respawn",50)
}    
if(clk("respawn")){
    Paster["Spawn",number]=0
}
#[
    Scopes have been added. If you find any bugs,
    please report them on the forums.

    An option to copy with bbcode color syntax
    highlighting has been added (for use on forums).
    Right click anywhere in the editor to use it.

    Documentation and examples are available at:
    http://wiki.wiremod.com/wiki/Expression_2
    The community is available at http://www.wiremod.com
]#
