Injection is a great tool, I've made some wonderfull scripts to gain skills, gold, etc.
But I have a problem with gamemasters who are everywere on my shard and don't allow macroing while not in front of screen. So here's my question :
Can I check if someone like a player or a gm appear on my screen, in order to play an alert sound or to show some message?
Thanks to all
Is there a way to check if a player or gm arrived
Moderators: Murderator+, Murderator
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Sorry for my clusmy English.
May be:
?
for example:
This example find humans on the ground and test names.
May be:
Code: Select all
uo.playwav(wavfilename)
?
for example:
Code: Select all
repeat
uo.findtype('Human Type',-1,'ground')
if uo.getName('finditem')=='Game Master name' then
uo.playwav(wavfilename)
else
ignore(finditem)
endif
wait(100)
until false
This example find humans on the ground and test names.
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom