mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 1.8
This commit is contained in:
38
modules/game_bot/default_config/icons.lua
Normal file
38
modules/game_bot/default_config/icons.lua
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
|
||||
addIcon("dancing", {outfit={mount=0,feet=0,legs=0,body=176,type=128,auxType=0,addons=3,head=48}, hotkey="F5", text="dance"}, macro(100, "dance", function()
|
||||
turn(math.random(0,3))
|
||||
end))
|
||||
|
||||
addIcon("ctrl", {outfit={mount=0,feet=10,legs=10,body=176,type=129,auxType=0,addons=3,head=48}, text="press ctrl to move icon"}, function(widget, enabled)
|
||||
if enabled then
|
||||
info("icon on")
|
||||
else
|
||||
info("icon off")
|
||||
end
|
||||
end)
|
||||
|
||||
addIcon("mount", {outfit={mount=848,feet=10,legs=10,body=176,type=129,auxType=0,addons=3,head=48}}, function(widget, enabled)
|
||||
if enabled then
|
||||
info("icon mount on")
|
||||
else
|
||||
info("icon mount off")
|
||||
end
|
||||
end)
|
||||
|
||||
addIcon("mount 2", {outfit={mount=849,feet=10,legs=10,body=176,type=140,auxType=0,addons=3,head=48}, switchable=false}, function(widget, enabled)
|
||||
info("icon mount 2 pressed")
|
||||
end)
|
||||
|
||||
addIcon("item", {item=3380, hotkey="F6", switchable=false}, function(widget, enabled)
|
||||
info("icon clicked")
|
||||
end)
|
||||
|
||||
addIcon("item2", {item={id=3043, count=100}, switchable=true}, function(widget, enabled)
|
||||
info("icon 2 clicked")
|
||||
end)
|
||||
|
||||
addIcon("text", {text="text\nonly\nicon", switchable=true}, function(widget, enabled)
|
||||
info("icon with text clicked")
|
||||
end)
|
||||
|
Reference in New Issue
Block a user