Abrupt Posted January 2, 2010 Author Share Posted January 2, 2010 How does somebody in game see another player's level and class? I know mods can see their level and stats with /info (player) command, but I want anyone to be able to do it, and for them to see their class too. Link to comment Share on other sites More sharing options...
Jamessut Posted January 2, 2010 Share Posted January 2, 2010 Well you can always look on the server.And isn't the level displayed on the character page? I forget. Link to comment Share on other sites More sharing options...
teh jimpie Posted January 2, 2010 Share Posted January 2, 2010 If youre using eclipse stable, you can use the right click option.else: i hope it works, im no pro at it XD```Case "/stats"PlayerID = FindPlayer(textsay(1))If GetPlayerID > 0 ThenCall PlayerMsg(Index, " the player is level: & GetPlayerLevel(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's strength level is: & GetPlayerStrength(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's defence level is: & GetPlayerDef(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's speed level is: & GetPlayerSpeed(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's magic level is: & GetPlayerMagi(PlayerID) & " !", CYAN)End IfExit Sub``` Link to comment Share on other sites More sharing options...
Abrupt Posted January 2, 2010 Author Share Posted January 2, 2010 I'm using EE, and I'll go try that script.Edit: Well the script didn't work. First of all, there is already a "/stats" command programmed into it, so I changed your command to "/profile", but even then it didn't work. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 2, 2010 Share Posted January 2, 2010 ```Case "/profile"PlayerID = FindPlayer(textsay(1))If GetPlayerID > 0 ThenCall PlayerMsg(Index, " the player is level: " & GetPlayerLevel(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's strength level is: " & GetPlayerStrength(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's defence level is: " & GetPlayerDEF(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's speed level is: " & GetPlayerSPEED(PlayerID) & " !", CYAN)Call PlayerMsg(Index, " the player's magic level is: " & GetPlayerMAGI(PlayerID) & " !", CYAN)End IfExit Sub``` Link to comment Share on other sites More sharing options...
Abrupt Posted January 2, 2010 Author Share Posted January 2, 2010 These go in Main.txt under the /commands right?? Because they still don't work. :(Okay how about this? There's a command "/info (playername)" and that works alright, but only mods can use it. All I really want is for that command to have no access level, but the thing is I can't find it in the main.txt anywhere! I have VB6 but don't know where to look. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted January 2, 2010 Share Posted January 2, 2010 @Abrupt:> These go in Main.txt under the /commands right?? Because they still don't work. :(> > Okay how about this? There's a command "/info (playername)" and that works alright, but only mods can use it. All I really want is for that command to have no access level, but the thing is I can't find it in the main.txt anywhere! I have VB6 but don't know where to look.The Main.txt is not part of the source; it's in Server/Scripts/Main.txt Link to comment Share on other sites More sharing options...
Abrupt Posted January 2, 2010 Author Share Posted January 2, 2010 @Admiral:> The Main.txt is not part of the source; it's in Server/Scripts/Main.txtI didn't say it was part of the source. I'm trying to figure out where the /info command is located. I asked if it was in main.txt or in the source. If you say it's located in the main.txt, then why can't I find it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now