## page was renamed from ObjectPlayer <> == m_context.truced == ||Usage: ||m_context.truced || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||if m_context.truced echo "This account is in truce" || returns Boolean (True/False) True if account is in truce == currentDateTime == ||Usage: ||player.currentDateTime || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.currentDateTime || returns string containing the readable format of "currentTime" (see below) which is actually not current time, but time of last login. example: echo player.currentDateTime output: 2013.07.30 18.19.51 == currentTime == ||Usage: ||player.currentTime || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.currentTime || this is not actually currentTime... this is time of last login (in UNIX timestamp format) == playerInfo.createrTime == ||Usage: ||player.playerInfo.createrTime || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.createrTime || date the account was created, in UNIX timestamp format. you can subtract that from timestamp of now and you have account age in milliseconds... you can divide that by (1k milliseconds * 60 seconds * 60 minutes * 24 hrs )= time in days{{{ echo "account is {floor((date().time-player.playerInfo.createrTime)/1000/60/60/24)} days old." }}} == playerInfo.office == ||Usage: ||player.playerInfo.office || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.office || This will return a string containing current player office/ rank eg "Civilian", "Lieutenant","Captain","Major","Colonel","General" == playerInfo.castleCount == ||Usage: ||player.playerInfo.castleCount || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.castleCount || returns count of player's castles == playerInfo.honor == ||Usage: ||player.playerInfo.honor || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.honor || returns player's honor points == playerInfo.levelId == ||Usage: ||player.playerInfo.levelId || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.levelId || returns a number which represents position in alliance: 4 = Host 5 = Vice Host 6 = Presbyter 7 = Officer 8 = Member 0 = not in an alliance == playerInfo.medal == ||Usage: ||player.playerInfo.medal || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.medal || returns number of cents on account == playerInfo.sex == ||Usage: ||player.playerInfo.sex || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.sex || returns a boolean value indicating player sex. (0=Male, 1=Female) == playerInfo.accountName == ||Usage: ||player.playerInfo.accountName || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.accountName || returns string containing login email address. == playerInfo.faceUrl == ||Usage: ||player.playerInfo.faceUrl || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.faceUrl || returns string containing path to player avatar icon picture. == playerInfo.id == ||Usage: ||player.playerInfo.id || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.id || returns number indicating player's internal ID on game database. == playerInfo.allianceLevel == ||Usage: ||player.playerInfo.allianceLevel || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.allianceLevel || returns string containing player's position in alliance (or null if unallied) eg. "Member","Officer","Presbyter","Vice Host" or "Host". == playerInfo.population == ||Usage: ||player.playerInfo.population || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.population || returns number which indicates player's total population for all cities. == playerInfo.flag == ||Usage: ||player.playerInfo.flag || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.flag || returns string containing player's flag. == playerInfo.prestige == ||Usage: ||player.playerInfo.prestige || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.prestige || returns number containing player's prestige == playerInfo.userName == ||Usage: ||player.playerInfo.userName || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.userName || Returns string containing player's lord name. == playerInfo.userId == ||Usage: ||player.playerInfo.userId || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.userId || returns yet another internal Id number for the player on the game server. == playerInfo.titleId == ||Usage: ||player.playerInfo.titleId || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.titleId || returns a number from 0-9 indicating player's current title. example to return player's title in string format: titleName=["Civilian,Knight,Baronet,Baron,Viscount,Earl,Marquis,Duke,Furstin,Prinzessin"] echo titleName[player.playerInfo.titleId] == playerInfo.ranking == ||Usage: ||player.playerInfo.ranking || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.ranking || returns number indicating player's rank on server (according to prestige) ie: top prestige player on server is ranked 1 == playerInfo.alliance == ||Usage: ||player.playerInfo.alliance || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||player.playerInfo.alliance || returns string containing player's alliance name (or null if unallied) == castleSignBeanArray == ||Usage: ||player.castleSignBeanArray || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||json_encode(player.castleSignBeanArray) || Returns an array containing your saved coords (ID, Name, X coords, Y coords). ---- ScriptObjects