@name AA_BOSS
@inputs 
@outputs 
@persist Ply:entity Table:array 
@trigger 
runOnChat(1)

if(chatClk()) {
    if(lastSpoke():lastSaid():lower():find("div")) {
        #lastSpoke():kill()
        concmd("ulx csay Divalent is our lord and savior!")
    }
    
    if(lastSpoke():lastSaid():lower():find("wrain")) {
        #lastSpoke():kill()
        concmd("ulx csay Wrain is a dead demon with the same soul as our lord!")
    }
    
    if(lastSpoke():lastSaid():lower():find("bill")) {
        #lastSpoke():kill()
        concmd("ulx csay Bill will always love his beavers!")
    }
    
    if(lastSpoke():lastSaid():lower():find("beaver")) {
        #lastSpoke():kill()
        concmd("ulx csay A wonderful animal! With a big tail(Yes there are fighting words)")
    }
    
    if(lastSpoke():lastSaid():lower():find("liam")) {
        #lastSpoke():kill()
        concmd("ulx csay Liam is the one who always needs help with E2!")
    }
}
#[
if (first()){
    runOnChat(1)
    Table = array("Do not RDM (Random Death Match), this means that you are not allowed to randomly kill people.",
    "Do not break NLR (New Life Rule), this means that you are NOT allowed to go back to the place you died in 2 minutes, or revenge the player who killed you.",
    "Do not CDM (Car Death Match), this means that you are NOT allowed to kill anyone with a vehicle, not even with a reason.",
    "Fear RP, if someone is pointing a gun at you, you CANNOT draw a weapon out OR run away. You need to FEAR the gun.",
    "Do not random raid, this means that you are not allowed to raid without a reason. You need a valid rp reason.",
    "Do not scam, scamming is not allowed at any cause. If someone is buying something from you, you must give the item he has payed for.",
    "Do not suicide if you are arrested.",
    "You may only raid as a Gangster or mob boss.",
    "Do not abuse props. Propkill, Propclimb, etc.",
    "When you play as a cop, do not open doors without a warrant.",
    "You are not allowed to build while raiding.",
    "You are not allowed to ask more than $3000 when mugging someone.",
    "You are not allowed to have more than two fading doors which are used as doors, but you are allowed to have fading doors covering your printers etc. You are not allowed to make fake keypads. The fading doors must be visible and they must be open minimum of 3 seconds.",
    "Do not build fading doors in front or behind a normal door.",
    "Do not backseat administrate. You're not allowed to make someone wanted for the reason 'RDM, CDM, Propkilling' etc. or kill people breaking rules.",
    "You are not allowed to make cameras invisible, they must be visible to other people.",
    "Gundealers or Black Market Dealers can't base with any gangs.",
    "Do not abuse fading doors.(Don't make fading doors to shoot through them).",
    "Do not abuse jobs, Example: Don't switch jobs to a cop to unnarrest your friend.",
    "You, or a friend must own all the doors in your base.",
    "Do not meta game, this means you are not allowed to talk in OOC(Out of character) while IC(In character), Example: You can not ask someone to come to a place in OOC.",
    "Do not abuse wiremod to make things that move/delete props or teleport to people or to your base or trap people, any kind of abuse will lead to a PERMANENT ban, no warnings.",
    "You are not allowed to start wars with anyone.",
    "The administrators word is the law. You must obey it. It's not negotiable.",
    "Don't put down printers while you're building.",
    "Don't make nocollided doors in your base.",
    "You are not allowed to build on the streets.",
    "You may only mug as Gangster or Mob Boss.",
    "You don't have to advert raids, it ruins the element of surprise.",
    "You have to advert mugging, and kidnappings.",
    "You are only allowed to shoot wanted players when they try to escape or start shooting at you.",
    "Do not make tunnels where you can shoot peoples heads.",
    "Do not make one way shooters.",
    "Do not try to get inside the admin areas, if designated.",
    "Do not make see through fences where you can shoot through.",
    "Do not use gore/disturbing sprays.",
    "Respect admins.")
}
if (chatClk()&lastSaid():lower():explode(" ")[1,string]==".rule"){
    concmd("ulx tsay Rule " + lastSaid():lower():explode(" ")[2,string] + ":   " + Table[lastSaid():lower():explode(" ")[2,string]:toNumber(), string])   
}
