@name Holo Help2
@inputs 
@outputs 
@persist 
@trigger 
interval(100)
runOnChat(1)

E = entity():isWeldedTo()

M = owner():aimEntity():model()
P = round(E:toLocal(owner():aimEntity():pos()),4)
A = round(E:toLocal(owner():aimEntity():angles()),4)

if (chatClk(owner())) {
    local Command=owner():lastSaid():explode(" ")
    
    if (Command[1,string]==".?") {
        hideChat(1)
        print("                           ")
        print("holoModel(,"+"\""+M+"\""+")")
        print("    holoPos(,E:toWorld(vec("+P:toString():replace("[",""):replace("]","")+")))")
        print("    holoAng(,E:toWorld(ang("+A:toString():replace("[",""):replace("]","")+")))")
    }
}
