@name Cerius Bot V1 By ammut & Artik
@inputs CS:wirelink RESET 
@outputs 
@persist T G:string RESPONCE:string J:string
@trigger 
if(first()){    CS["Reset",number] = 1
    RESPONCE = ""
    T=0}
runOnTick(1000)
runOnChat(1)
CS:writeString("Cerius Bot V2" ,0,0,999,48)


G = lastSaid():lower()
J = lastSpoke():name()

if(G:find("hi") & chatClk()){
RESPONCE =  RESPONCE + "Hello there " + J + "\n"
T++}
if(G:find("hello") & chatClk()){
RESPONCE =  RESPONCE + "Hello there " + J + "\n"
T++}
if(G:find("sup") & chatClk()){
RESPONCE =  RESPONCE + "Hello there " + J + "\n"
T++}
if(G:find("i love you") & chatClk()){
    if(J == "Ted"){
RESPONCE =  RESPONCE + "FUCK YOU " + J + "\n"
T++}
if(G:find("i love you") & chatClk()){
if(J != "Ted"){
RESPONCE =  RESPONCE + "<3 You too, " + J + "\n"
T++}
}
}
if(G:find("2 + 2") & chatClk()){
RESPONCE =  RESPONCE + "2 + 2 = Fish " + "\n"
T++}
if(G:find("fuck you") & chatClk()){
RESPONCE =  RESPONCE + ":c" + "\n"
T++}
if(G:find("404")){
RESPONCE =  RESPONCE + "404 BOT NOT FOUND" + "\n"
T++}

if(G:find("how are you") & chatClk()){
RESPONCE =  RESPONCE + "good" + "\n"
T++}

if(G:find("when does the narwhale bacon") & chatClk()){
RESPONCE =  RESPONCE + "midnight" + "\n"
T++}

if(G:find("shut up") & chatClk()){
RESPONCE =  RESPONCE + "noufgt" + "\n"
T++}

if(G:find("do you even lift") & chatClk()){
RESPONCE =  RESPONCE + "yes" + "\n"
T++}


CS:writeString(RESPONCE ,2,3,999,200)



if(T>10){
    CS["Reset",number] = 1
    RESPONCE = ""
    T=0
}

