status script(useless)

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
punkesito
Posts: 46
Joined: 2004-10-16 12:30:54
Location: Argentina
Contact:

status script(useless)

Post by punkesito »

Code: Select all

sub st()
var dir,Notoriety
uo.textclear()
uo.textopen()
if uo.Getdir("self") == 0 then
dir="WN"
end if
if uo.Getdir("self") == 1 then
dir="N"
end if
if uo.Getdir("self") == 2 then
dir="NE"
end if
if uo.Getdir("self") == 3 then
dir="E"
end if
if uo.Getdir("self") == 4 then
dir="SE"
end if
if uo.Getdir("self") == 5 then
dir="S"
end if
if uo.Getdir("self") == 6 then
dir="SW"
end if
if uo.Getdir("self") == 7 then
dir="W"
end if
if uo.GetNotoriety("self") == 1 then
Notoriety="Innocent"
end if
if uo.GetNotoriety("self") == 2 then
Notoriety="Friend"
end if
if uo.GetNotoriety("self") == 3 then
Notoriety="Gray"
end if
if uo.GetNotoriety("self") == 4 then
Notoriety="Criminal"
end if
if uo.GetNotoriety("self") == 5 then
Notoriety="Enemy"
end if
if uo.GetNotoriety("self") == 6 then
Notoriety="Murderer"
end if
uo.textprint("life: "+str(UO.life)+"/"+str(uo.Getmaxhp("self"))+" mana: "+str(UO.mana)+" stamina: "+str(UO.Stamina))
uo.textprint("Str: "+str(UO.str)+" Int: "+str(UO.int)+" Dex: "+str(UO.dex))
uo.textprint("Weight: "+str(UO.Weight)+" Armor: "+str(UO.armor)+" Gold: "+str(UO.gold))
uo.textprint("x: "+str(uo.GetX("self"))+" y: "+str(uo.Gety("self"))+" z: "+str(uo.Getz("self"))+" dir: "+dir)
uo.textprint("hidden: "+str(uo.hidden("self"))+" run: "+str(uo.Getrun("self"))+" dead: "+str(uo.Dead())+" poisoned: "+str(uo.Poisoned("self"))+" notoriety: "+Notoriety)
end sub

is a little useless, for learning or something...
Post Reply