Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/21/22 in all areas

  1. try with: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4531 *changebase <job ID number>{,<account ID>}; This command will change a character's appearance to that of the specified job class. Nothing but appearance will change. The command will run for the invoking character unless an account ID is given. changebase Job_Novice; // Changes player to Novice sprite. changebase Class; // Changes player back to default sprite. https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L963 OnPCLoadMapEvent: This special label triggers when a player steps in a map marked with the 'loadevent' mapflag and attaches its RID. The fact that this label requires a mapflag for it to work is because, otherwise, it'd be server-wide and trigger every time a player would change maps. Imagine the server load with 1,000 players (oh the pain...)
    1 point
  2. i already fixed the error Thank you
    1 point
  3. Version 1.0.0

    98 downloads

    This script commands allow you to "Inject" scripts inside other scripts. But Zell, why I want this? Well, you can use a script code from a SQL table! Imagine that now you can change scripts code blocks without reloading scripts direct from your database or you can even do like me where I'm building scripts from a API! Sample Script: prontera,150,150,5 Script Inject Test 91,{ .@test = rand(1, 100); mes "Let's test Inject"; mes "I will declare variable .@test as " + .@test + "."; mes "My npc id is " + getnpcid(0), " "; mes "[Inject Code Start]", " "; // This script text coud be loaded from a SQL table! Inject( "mes \"Running NPC is \" + getnpcid(0); " + "mes \"Value of .@test is \" + .@test; " + "next; " + ".@test = rand(200, 500); " + "mes \"Now value of .@test will be \" + .@test;" + "close2; " ); mes "[Inject Code End]", " "; mes "Inject was ok and .@test is now " + .@test; close; }
    Free
    1 point
×
×
  • Create New...