Page 1 of 1

Death penalty

Posted: Sun May 27, 2012 6:24 pm
by C3PO
Hello Guyz

Can someone may tell me how to find out if there is any XP- penalty (TP-penalty) on the char left?

thx

Re: Death penalty

Posted: Mon May 28, 2012 5:07 am
by rock5
You mean with the bot right?

Go to theromwiki's list of functions
http://www.theromwiki.com/List_of_Functions
and do a search for "debt". I'm sure you'll find something. :)

Re: Death penalty

Posted: Mon May 28, 2012 6:06 am
by C3PO
you are great thanks!

Code: Select all

local mainExp, mainTp, subExp, subTp = GetPlayerExpDebt()
SendChatMessage("I have " .. mainExp .. " points exp-debt,"SAY")