Search results

  1. fukurou

    👨‍💻 dev AXContains

    from typing import Set def contains_element(my_set: Set[int], element: int) -> bool: return element in my_set # Example usage my_set: Set[int] = {1, 2, 3, 4, 5} print(contains_element(my_set, 3)) # Output: True print(contains_element(my_set, 6)) # Output: False
  2. fukurou

    test

  3. fukurou

    test

    :s8:
  4. fukurou

    AH2

    (?<=add di).*
  5. fukurou

    👨‍💻 dev event chatbot

    class EventChat: def __init__(self, ur: UniqueResponder, *args): self._dic = {arg: ur for arg in args} def response(self, in1: str) -> str: return self._dic.get(in1, "").getAResponse() if in1 in self._dic else ""
  6. fukurou

    [MEDIA]

  7. fukurou

    👨‍💻 dev event chatbot

    def create_dict(objectx: 'ObjectX', *args: str) -> dict[str, 'ObjectX']: return {arg: objectx for arg in args} # Example usage: class ObjectX: pass obj = ObjectX() result = create_dict(obj, "key1", "key2", "key3") print(result)
  8. fukurou

    👨‍💻 dev event chatbot

    def create_dict(objectx, *args): return {arg: objectx for arg in args} # Example usage: class ObjectX: pass obj = ObjectX() result = create_dict(obj, "key1", "key2", "key3") print(result)
  9. fukurou

    AI hormones test

    from __future__ import annotations # for the builder pattern from AXPython import TimeGate from LivinGrimoire23 import Skill, Chobits class AH1(Skill): def __init__(self, chobit: Chobits): super().__init__() # Call the parent class constructor self._chobit: Chobits =...
  10. fukurou

    [MEDIA]

  11. fukurou

    protocol 2501 with .txt instead of .py

    import os def call_add_DLC_skills(brain: Brain): for file in os.listdir('.'): if file.endswith('.txt') and 'DLC' in file: with open(file, 'r') as f: code = f.read() exec(code) exec(f"add_DLC_skills(brain)") # Example usage...
  12. fukurou

    [MEDIA]

  13. fukurou

    spermin'

    from AXPython import * class StandByCHK: def __init__(self, N: int): self.cycler: Cycler = Cycler(N) self.standBy: bool = True def chkStandBy(self, in1: str) -> int: if len(in1) > 1: self.standBy = False x1 = self.cycler.cycleCount()...
  14. fukurou

    spermin'

  15. fukurou

    spermin'

    standby = true if not param is "" standby = false if trgEveryNMinutes: if not standby: standby = true;return -1 return -1 return 0
  16. fukurou

    spermin'

    import time class StandByCHK: def __init__(self, N: int): self.N: int = N * 60 # Convert minutes to seconds self.in1: str = "" self.last_check_time: float = time.time() self.reset_flag: bool = False self.result: int = 0 def standBy(self, in1...
  17. fukurou

    spermin'

    import time class StandByCHK: def __init__(self, N: int): self.N: int = N * 60 # Convert minutes to seconds self.in1: str = "" self.last_check_time: float = time.time() self.reset_flag: bool = False self.result: int = 0 def standBy(self, in1...
  18. fukurou

    spermin'

    import time class SkillChecker: def __init__(self, N): self.N = N * 60 # Convert minutes to seconds self.in1 = "" self.last_check_time = time.time() self.reset_flag = False self.result = 0 def standBy(self, in1: str) -> int: current_time...
  19. fukurou

    [MEDIA]

  20. fukurou

    [MEDIA]

Top