Jump to content
  • 0

Check class instead of account


yepp

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   2
  • Joined:  05/29/16
  • Last Seen:  

I have instant job changer that sets character to max lvl and etc etc.

 

Most scripts checks accounts and not by character.

 

How do I check if they changed jobs already? No 3rd job, only trans.

 

I know the logic but I don't how to do it in rAthena/RO's lang. Btw, if you can link me to where I can see all the functions that can be used in scripting, that would be a big help.

 

So back to my problem...

 

I need to check, if the current character had changed job already not the account...

 

If yes then no more job changing.

If no, of course allow them to change.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

You have to change the script check from

#variable

to

variable

#variables are account variables.

variables withouth the # are character variables

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   2
  • Joined:  05/29/16
  • Last Seen:  

I'll try that. I'll get back later. Thanks!

 

-- EDIT --

 

yepp, it works!

Edited by yepp
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...