Yoko

All sides of Injection
It is currently 2026-01-17 19:02:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: status script(useless)
PostPosted: 2004-12-15 06:54:42 
Offline

Joined: 2004-10-16 12:30:54
Posts: 46
Location: Argentina
Code:
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...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited