Questions? (print name, set target, delete print)

Ask for help

Moderators: Murderator+, Murderator

Post Reply
else
Posts: 8
Joined: 2004-04-20 07:46:49

Questions? (print name, set target, delete print)

Post by else »

Hi,
1) How to delete all message in print?
2) Can i print name of last target? How to do?
3) How to set target without magic arrow or use any skills for example ? ( ,setlasttarget? ;) )
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Re: Questions? (print name, set target, delete print)

Post by Yoko »

else wrote:Hi,
1) How to delete all message in print?
2) Can i print name of last target? How to do?
3) How to set target without magic arrow or use any skills for example ? ( ,setlasttarget? ;) )

1) ,textclear
2) uo.print(uo.getname("laststatus"))
3) no way for client. for injection - ,set lasttarget and ,getstatus depending on how you define last target.
else
Posts: 8
Joined: 2004-04-20 07:46:49

Post by else »

sub name()
uo.print('name of target: '+uo.getname("laststatus"))
end sub

print only "name of target:"

sub printdel()
uo.print('Hi!')
wait(100)
uo.exec(',textclear')
end sub

still is in print text 'Hi!'

and 3) i need make cross for target as i write ",hide" without action to get lasttarget.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

else wrote:sub name()
uo.print('name of target: '+uo.getname("laststatus"))
end sub
print only "name of target:"

it is possible that standart name aquiring settings not works on your shard configuration, or you using one of old versions of injection

else wrote:sub printdel()
uo.print('Hi!')
wait(100)
uo.exec(',textclear')
end sub

still is in print text 'Hi!'

text in UO console can not be forced cleared any way, this is pure client settings.
text that can be cleared may be written in special window.
see commands ,textopen ,textclose ,textprint ,textclear

else wrote:3) i need make cross for target as i write ",hide" without action to get lasttarget.

i still do not understand request. maybe you need use ,addobject then anything you need
WeedDevil
Posts: 32
Joined: 2004-04-06 12:13:49

Post by WeedDevil »

you might try to flood you "uo console" with space

sub printdel()
uo.print('Hi!')
wait(100)
printspam()
end sub

sub printspam()
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
end sub
else
Posts: 8
Joined: 2004-04-20 07:46:49

Post by else »

Yes, of course! thnk
next point? ;)
else
Posts: 8
Joined: 2004-04-20 07:46:49

Post by else »

WeedDevil wrote:you might try to flood you "uo console" with space

sub printdel()
uo.print('Hi!')
wait(100)
printspam()
end sub

sub printspam()
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
uo.print(" ")
end sub


very lagly solve :p
Post Reply