runny shits and codings!

fukurou

the supreme coder
ADMIN
this new code gon be like surgery.

Ima add a madafuckin kv learn function to the railbot!
 

fukurou

the supreme coder
ADMIN
Java:
    public void learnKeyValue(String context, String reply){
        // learn questions and answers/ key values
        if(!dic.containsKey(context)){
            dic.put(context,new RefreshQ());
        }
        if(!dic.containsKey(reply)){
            dic.put(reply,new RefreshQ());
        }
        dic.get(context).add(reply);
    }
 
Top