Tibia Autohotkey Scripts
CipSoft’s BattleEye anti-cheat system (integrated since 2017) is sophisticated. While it primarily targets memory-reading bots, it also flags behavioral patterns typical of automation.
The following scripts will get you banned if detected:
This is the most common offender. You press one button, and the script:
; DANGEROUS - DO NOT USE
F1::
Send F1 ; Exura
Sleep 50
Send F2 ; Mana potion
Sleep 50
Send F3 ; Attack spell
return
Why it's bannable: One human action (pressing F1) triggers three game actions.
Welcome to my compilation of AutoHotkey (AHK) scripts for Tibia. While there are many complex bots out there, sometimes you just need a simple script to heal your wrist from constant button mashing or to automate a repetitive task.
⚠️ Disclaimer: Use these scripts at your own risk. While AHK is generally considered safer than memory-manipulation bots (like ElfBot or Xenobot), CipSoft's stance on "third-party tools" is strict. Any software that automates gameplay violates the Tibia Rules (3a). Scripts that simulate human behavior are harder to detect, but never assume you are 100% safe. I recommend using these on optional PvP worlds or characters you can afford to lose.
Save this as TibiaSafe.ahk and customize the hotkeys:
#NoEnv #SingleInstance Force SendMode Input SetWorkingDir %A_ScriptDir%; Toggle with ScrollLock ScrollLock:: Suspend, Toggle Tooltip, Tibia Macros % (A_IsSuspended ? "OFF" : "ON") SetTimer, RemoveTooltip, -1000 return tibia autohotkey scripts
#IfWinActive, ahk_class TibiaClient
; WASD MOVEMENT w::Up a::Left s::Down d::Right
; MOUSE WHEEL HEAL (200ms delay) WheelUp:: Send, F1 Sleep, 200 return WheelDown:: Send, F2 Sleep, 200 return
; QUICK LOOT (Ctrl + Left Click) ^LButton:: Click, Right Sleep, 80 Click return
; ANTI-IDLE (toggle with F9) F9:: ToggleIdle := !ToggleIdle If ToggleIdle SetTimer, AntiIdle, 300000 Tooltip, Anti-idle ON Else SetTimer, AntiIdle, Off Tooltip, Anti-idle OFF SetTimer, RemoveTooltip, -1000 return
AntiIdle: Send, F12 Sleep, 100 return
RemoveTooltip: Tooltip return
#IfWinActive
If you’re worried about bans, consider these built-in or hardware-based options:
Let's build a complete, semi-safe hotkey set for a paladin or mage.
Goal: Move all spells to the right hand (Numpad) while using the left hand for movement (WASD).
Step 1: Download AutoHotkey from autohotkey.com.
Step 2: Right-click on Desktop → New → AutoHotkey Script. Name it TibiaProfile.ahk.
Step 3: Paste the following:
#NoEnv #SingleInstance Force SendMode Input; Movement (WASD) - Keep native ; Spells on Numpad NumpadIns::Send F1 ; Exura NumpadDel::Send F2 ; Exura san NumpadEnd::Send F3 ; Exori san NumpadDown::Send F4 ; Exevo mas san NumpadPgDn::Send F5 ; Heal friend NumpadLeft::Send F6 ; Magic wall NumpadClear::Send F7; Enchant NumpadRight::Send F8; Destroy field ; DANGEROUS - DO NOT USE F1:: Send
; Ctrl + Numpad for runes ^NumpadIns::Send F9 ; SD Rune ^NumpadDel::Send F10 ; HMM ^NumpadEnd::Send F11 ; GFB
; Quick logout (ESC) F12::Send ESC
; Toggle walk mode (Shift lock) CapsLock:: Send Shift Down KeyWait, CapsLock Send Shift Up return
; Pause script with Pause/Break key Pause:: Pause, Toggle TrayTip, Tibia AHK, Script is % (A_IsPaused ? "Paused" : "Resumed"), 2 return
Step 4: Save the script, double-click to run it. You will see a green "H" icon in your system tray. Step 5: Open Tibia, set your in-game hotkeys (F1, F2, etc.) to your spells. The Numpad now triggers them.