• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

request change vocation script

Joined
May 18, 2008
Messages
370
Reaction score
0
Location
Monterrey, México
is it possible to make a script that like a talkaction that lets a player change his vocation but saving his skills in a storage value and reset skills and if he changes back to his former vocation all skills are reseted to what he had when he was that vocation.

example:
player 1: master sorcerer. ml 84
says talkaction and now he is a knight with ml. 0 and all skills 0.
says the talkaction again to be sorcerer and now he is a master sorcerer with ml 84, and his skills again.

hope it can be done ^^.
 
Storage values are your friend. When they use the talkaction, set a storage value for each skill, and another storage value to check if they have switched vocations or not, if they haven't switch, if they have, switch back.
 
Back
Top