Jump to content

L2Walker Script commands


Francislaremote

Recommended Posts

A list of command to use in L2walker scripting (with new commands also).

 

This comes from gamehaqs, from SonicFlare.

 

 

 

SET (L2WALKER' date=' ENABLE|DISABLE) // stops outside the start hanging the function

 

Explained: Outside the establishment stops hanging outside the function or the start hangs the function

 

Example: SET (L2WALKER, ENABLE) outside // start hangs the function

 

Outside SET (L2WALKER, DISABLE) // stops hanging the function

 

 

 

USESKILL (name [ ID=x '], SELF|PLAYER|PARTY|NPC|PET, TargetName)

 

Explained: Use skill

 

SELF // own

 

PLAYER // plays the family

 

PARTY // troop members

 

NPC // did not explain

 

PET // pet

 

TargetName// goal name

 

Example: USESKILL (the attack strengthens [ ID=104 ], SELF)

 

USESKILL (ultimate cures the technique [ ID=XXX ], PLAYER, only suitablly roams about)

 

 

 

 

 

Establishment instruction:

 

SET ([ FIGHTSTART|FIGHTSTOP ])

 

Explained: The establishment commencing of action or stops fighting

 

:SET (FIGHTSTART) // starts to fight

 

SET (FIGHTSTOP) // stops fighting

 

 

 

SET (RANGETYPE, RAND)

 

Explained: Establishes stochastically looks strangely

 

 

 

SET (RANGETYPE, STARTPOS, radii)

 

Explained: The establishment starts to fight looks strangely for the central point

 

Example: SET (RANGETYPE, STARTPOS,1,500) // starts to fight is the central point, the radius 1,500

 

 

 

SET (RANGETYPE, DEFPOS, x, y, z, radii)

 

Explained: The establishment looks strangely from the definition central point

 

Example: SET (RANGETYPE, DEFPOS,43950,51153, -3022,2000;) / Take 43950,51153, -3022 as the central point, the radius 2,000

 

 

 

SET (RANGETYPE, DEFRANGE)

 

Explained: The establishment looks strangely from the definition scope

 

 

 

SET (RANGETYPE, DEFPATH)

 

Explained: The establishment looks strangely from the definition way

 

 

 

SET (DEFRANGE, CLEAR)

 

Explained: The elimination eliminates from the definition scope

 

 

 

SET (DEFRANGE, ADD, x, y, z)

 

Explained: Increase from definition scope spot

 

Example: SET (DEFRANGE, ADD,43950,51153, -3022;)

 

 

 

SET (DEFPATH, CLEAR)

 

Explained: Elimination from definition way

 

 

 

SET (DEFPATH, ADD, x, y, z, radii)

 

Explained: Increase from definition way spot

 

Example: SET (DEFPATH, ADD,43950,51153, -3022,1000;) / Take 43950,51153, -3022 as from definition way spot, radius 1,000

 

 

 

SET (MON, ATTACK|NOATTACK|ATTACK ONE, Name [ ID=n ]; Name1 [ ID=n ]; |*)

 

Explained: The establishment attack monster or does not attack the monster

 

ATTACK// is the attack

 

NOATTACK// is does not attack

 

ATTACKONE// is the attack completes the order form

 

SET (ITEM, PICK|NOPICK|SAVE, Name [ ID=n ]; Name1 [ ID=n ]; |*)

 

Explained: Establishes the stage prop to pick takes; Does not pick takes; Preservation

 

PICK// is picks takes

 

NOPICK// is does not pick takes

 

SAVE// is the preservation

 

 

 

Movement instruction:

 

MOVETO (x, y, z)

 

Explained: Moves to x, y, z

 

 

 

NPCSEL (name [ ID=x ])

 

Explained: Chooses NPC

 

 

 

NPCDLG (name [ ID=x ])

 

Explained: With NPC dialogue

 

 

 

DLGSEL (name)

 

Explained: Dialogue choice

 

 

 

GOHOME ()

 

Explained: Died the city

 

 

 

SAY (writing)

 

Explained: Generally speaks

 

 

 

MSG (writing)

 

Explained: Outside hangs the prompt blind, the others

 

 

 

UseItem (name [ ID=x ])

 

Explained: Uses the stage prop

 

 

 

BUYSEED (name [ ID=x ], quantity)

 

Explained: Purchase seed

 

Example: BUYSEED (air conditioning tan oak cypress seed [ ID=5046 ],2,000;)

 

 

 

SELLSEED (name [ ID=x ], quantity)

 

Explained: Special product settlement

 

Example: SELLSEED (red tan oak tower [ ID=5068 ],3,000;)

 

 

 

BuyItem (name [ ID=x ], quantity)

 

Explained: Purchase goods

 

Example 1:BuyItem (returns to the reel [ ID=736 ],2)

 

Example 2:BuyItem (returns to the reel [ ID=736 ],2; Reactivating reel [ ID=737 ],3)

 

 

 

SellItem (name [ ID=x ], quantity)

 

Example 1:SellItem (returns to the reel [ ID=736 ],2)

 

Example 2:SellItem (returns to the reel [ ID=736 ],2; Reactivating reel [ ID=737 ],3)

 

Example 3:SellItem (*) sells in the stage prop hypothesis to suppose is "sells" the complete goods

 

 

 

SaveItem (name [ ID=x ], quantity)

 

Example 1:SavelItem (returns to the reel [ ID=736 ],2)

 

Example 2:SavelItem (returns to the reel [ ID=736 ],2; Reactivating reel [ ID=737 ],3)

 

Example 3:SavelItem (*) preserves in the stage prop hypothesis to suppose is "saves" the complete goods

 

 

 

LoadItem (name [ ID=x ], quantity)

 

Example 1:LoadlItem (returns to the reel [ ID=736 ],2)

 

Example 2:LoadlItem (returns to the reel [ ID=736 ],2; Reactivating reel [ ID=737 ],3)

 

 

 

ChangeWaitType (x)

 

The character stands or sits down

 

X = 0 seats

 

X = 1 station

 

 

 

Conditional order:

 

StrInDlg (dialogue writing)

 

Explained: Uses for to judge and in the NPC dialogue dialog box whether has the writing which assigns

 

Example:

 

NPCSEL (gram Pu [ ID=1007534 ])

 

NPCDLG (gram Pu [ ID=1007534 ])

 

DLGSEL (duty)

 

STRINDLG (complies to entrust)

 

{

 

DLGSEL (complies to entrust)

 

JMP (duty meets)

 

}

 

JMP (duty already received)

 

 

 

StrNotInDlg (dialogue writing)

 

Explained: Uses for to judge and in the NPC dialogue dialog box hasn't assigned whether writing

 

Example:

 

NPCSEL (gram Pu [ ID=1007534 ])

 

NPCDLG (gram Pu [ ID=1007534 ])

 

DLGSEL (duty)

 

STRNOTINDLG (complies to entrust)

 

{

 

MSG (already received duty)

 

JMP (has met duty)

 

}

 

DLGSEL (complies to entrust)

 

CharStatus ([ CHP|CMP|HP|MP|WEIGHT|LV|SP|RACE|STAND ], [ >=|>|==|! =|<|<= ], num)

 

Explained: The character condition judgement, HP.MP.WEIGHT is a percentage

 

CHP, CMP manner current actual value

 

WEIGHT is carries a heavy load the percentage

 

LV manner rank

 

RACE manner race (human =0, demon =1, dark demon =2, half beastly person =3, dwarf =4)

 

 

 

PosInRange (x, y, z, range)

 

Explained: Examines the character current coordinates whether in take x, y, z as central point range is in the radius center of a circle

 

PosOutRange (x, y, z, range)

 

Explained: Examines the character current coordinates whether in take x, y, z as central point range is outside the radius center of a circle

 

Example: Joins in the script opening

 

PosOutRange (100,100,100,500)

 

{

 

MSG (please stand nearby xxx starts)

 

EXIT ()

 

}

 

ItemCount (name [ ID=x ], [ >=|>|==|! =|<|<= ], count)

 

Explained: Assigns the name or the ID stage prop quantity compared with the character body on whether does satisfy the condition

 

 

 

Flow control instruction:

 

CALL (LABEL name)

 

Explained: Transfers the LABEL marking the label address execution, carries out returns, must have to have the RETURN instruction

 

Example:

 

CALL (next step)

 

The transfer completes can continue the execution next step

 

...

 

EXIT ()

 

LABEL (next step)

 

...

 

RETURN

 

JMP (LABEL name)

 

Explained: Jumps changes to the LABEL marking the label address execution

 

 

 

RETURN ()

 

Explained: When CALL transfer must use this to return

 

 

 

EXIT ()

 

Explained: Conclusion script movement

 

 

 

DELAY (x)

 

Explained: Retards x millisecond

 

 

 

PAUSE ()

 

Explained: The suspension script execution, prompts the information for to play the family, lets play the family to control continues to carry out

 

 

 

LABEL (sign signs)

 

Explained: The definition sign signature, uses for JMP or CALL

 

 

 

 

Original Post here

 

Link to comment
Share on other sites

  • 2 years later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.


  • Posts

    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hood-services https://campsite.bio/utchihaamkt  
    • Server Rates: » Xp 500x. » Sp 500x. » Aden 500x. » Drop 1x. » PartyXp 2x. » PartySp 2x. » Starting character level -61. Enchant rates: » Safe enchant +4. » Blessed and simple scrolls max enchant (+16). » Crystal scrolls max enchant (+20). » Simple enchant scrolls chance – 65%. » Blessed enchant scrolls chance – 100%. » Crystal enchant scrolls chance – 50% Augmentations: » Mid life stone skill chance – 5%. » High life stone skill chance – 10%. » Top life stone skill chance – 20%. » Augments 1+1 Unique features: » Main town – Giran » Automatic-Manual Potions. » Working 2 castle sieges. (Giran-Aden) » SPS cancel lasts 10 seconds and than buffs come back. » Stackable scrolls, lifestones, book of giants. » Unique pvp zone » More then 11 active raid bosses. » Wedding system. » Unique farming areas. » Npc skill enchanter. » Full npc buffer with auto buff. » Max count of buffs – 55. » Max subclasses – 4. » Free and no quest class change. » Free and no quest sub class. » Raid boss drop nobless item. » No weight limit. » Unique protection anti-hwy armor for archers/daggers etc. » Ingame password change. » Top pvp/pk/online ranks NPC. » Unique monsters & NPC. » Interlude retail skills. » Server up-time [24/7] [99]%. » Perfect class balance (all class can kill all class depending on players skill and setup knowledge,gear,augmentations). » Announcements on double kills triple kills etc. » Announcements on Grand Boss death , with the name of the killer as well as clan name of the player. » Information Npc in game with all servers infromations. Custom server gear : 1). Titanium Armor Lv.1 2). Epic Armor Lv.2 3). Epic Weapons-Kamikaze-Black S grade (Same Stats) 4). Demonic-Angelic Wings-Baium Hair-Custom Accessories (SameStats) 5). Custom Fighter/Mage tattoo Lv1-Lv2-Lv3 6). Shirt (STR,CON,INT +1) 7). Custom Shields Server Commands: .tvtjoin .tvtleave – Join or leave tvt event. .ctfjoin .ctfleave – Join or leave ctf event. .dmjoin .dmleave – Join of leave dm event. .online – current online players count. .repair – repairs stuck character in world. .menu – opens online menu panel. .exit – PVP zone exit in case you are bullied. .changepassword - Opens online menu then u can change ur password in game. .farm - Enable/disable autofarm Event system: » TVT event » CTF event » DM event » Tournament Event » Party Zone » Unique event shop. Olympiad game: » Retail olympiad game. » Competition period [1] week. » Olympiad start time [18:00] end [00:00] GMT+2. » New Heroes every Sunday.
    • Tomorrow grand opening lests go 🙂 
  • Topics

×
×
  • Create New...