@name FailCake Client
@inputs Connect
@outputs R
@persist
@trigger all
@model models/props_lab/reciever01d.mdl

E = entity()

if(Connect){ 
dsJoinGroup("Client")
dsSetScope(2)   

if(dsClk("IPG")){
## Gets Ip ##
R = dsGetNumber()
}
dsSend("Connect","Server","C")   
dsSend("IP","Server","192.168.0."+toString(R))
}else{
dsSend("Connect","Server","DC") 
}
