Jump to content

AI system


BOXEY

Recommended Posts

I mean yes it could be done but it's not really easy you can make a simplistic version of it but will be weird working
the next would be making a more advanced version but those can normally take days and up to make

I'm a guy yes but I am also human just like any female so why do you believe it's so wrong to cry too?

Link to comment
Share on other sites

dis my skript rn 

I kinda fell like it is not a AI though

it is very user needed and I am thinking of adding a math mode to it to do things like 453 x 124 and stuff

on join:
    if {joins::*} does not contain uuid of player:
        delete {ainame::%uuid of player%}
        wait 50 ticks
        add uuid of player to {joins::*}
        set Join message to "&a+ &7 %player%"
        wait 50 ticks
        send "&dNAME&7 >> Please type my name is chat"
        wait 15 ticks
        send "&dBOT&7 >> You Can Change This Later With &c/ai setname"
    else:
        set Join message to "&a+ &7 %player%"
        send "&d%{ainame::%uuid of player%}% &7 >> Welcome Back"

command /resetjoins:
    trigger:
        delete {joins::*}

on chat:
    if {ainame::%uuid of player%} is set:
        stop
    else:
        cancel event
        set {ainame::%uuid of player%} to message
        send "&d%{ainame::%uuid of player%}%&7 >> Thanks for giving me a name"
        wait 15 ticks
        send "&d%{ainame::%uuid of player%}%&7 >> Hello %player%&7, I am a AI System for you too mess with"
        wait 25 ticks
        send "&d%{ainame::%uuid of player%}%&7 >> All you need to do to use me is type what you need in chat (fly, gmc, gms, heal, ect.)"

on chat:
    if message is "fly":
        cancel event
        if {flight::%player%} is not set:
            send "&d%{ainame::%uuid of player%}%&7 >> Flight Is now on"
            set {flight::%player%}  to 1
            set player's flight mode to true
        else:
            send "&d%{ainame::%uuid of player%}%&7 >> Flight Is now off"
            delete {flight::%player%}
            set player's flight mode to false
    if message is "gmc":
        cancel event
        send "&d%{ainame::%uuid of player%}%&7 >> You have entered Gamemode Creative"
        set player's gamemode to creative
    if message is "gms":
        cancel event
        send "&d%{ainame::%uuid of player%}%&7 >> You have entered Gamemode Survival"
        set player's gamemode to survival
        if {flight::%player%} is set:
            set player's flight mode to true
    if message is "gmsp":
        cancel event
        send "&d%{ainame::%uuid of player%}%&7 >> You have entered Gamemode Spectator"
        set player's gamemode to spectator
    if message is "gma":
        cancel event
        send "&d%{ainame::%uuid of player%}%&7 >> You have entered Gamemode Adventure"
        set player's gamemode to adventure
        if {flight::%player%} is set:
            set player's flight mode to true
    if message is "heal":
        cancel event
        send "&d%{ainame::%uuid of player%}%&7 >> I have Healed You"
        heal player

on hunger bar change:
    cancel event


command /ai [<string>]:
    trigger:
        if arg-1 is not "setname":
            send "&d%{ainame::%uuid of player%}%&7 >> Did you mean &csetname"
        else:
            if arg-1 is "setname":
                delete {ainame::%uuid of player%}
                send "&dBOT&7 >> Please type my name is chat"
                wait 15 ticks
                send "&7 >> You Can Change This Later With &c/ai setname"
            


on damage:
    if damage was caused by fall:
        cancel event

 

Edited by Boxmonkey
Link to comment
Share on other sites

That's more of a pre-determined and non configurable "bot" type thing, definitely not artificial inelegance.

Founder - Minehut.xyz

The leading Minehut support website. We aim to provide top quality tutorials, provide answers to top questions, and help in any way we can. Our site is community driven, and we will continue to make it better and better.

Support | 28/08/20 -13/09/20

Senior Support | 13/09/20 - 19/10/20

 

forums.gif.5d3db2db4a05c9465b84fa9bf0293df4.gif

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...