help - learning scripting

Play Now

booom

Dedicated Member
Dedicated Member
May 14, 2003
218
17
94
basicly i`m just looking @Scripts in this forum and i think am understandin them
but i need some 1 to 100% Explane wat does each thing do ... like :
() $ # [ ] } @ < > / Main say elsesay act elseact goto

i see them alot and i think i understand them but dont realy 100% understand :P so would be helpfull if some 1 just make a post with each thing in scripting about wat it does .. and like an example of an NPC to where to put it
example of a gamble Npc
example of an item ( Double Click it it do something )
Example of a quest
example of a npc that u sell stuff to ...

bla bla blah ^^ thx in advance this will realy be helpfull to any 1 wanna learn scripting ..
 

T0MMY

LOMCN Veteran
Veteran
Aug 5, 2007
2,153
24
125
United Kingdom
basicly i`m just looking @Scripts in this forum and i think am understandin them
but i need some 1 to 100% Explane wat does each thing do ... like :
() $ # [ ] } @ < > / Main say elsesay act elseact goto

i see them alot and i think i understand them but dont realy 100% understand :P so would be helpfull if some 1 just make a post with each thing in scripting about wat it does .. and like an example of an NPC to where to put it
example of a gamble Npc
example of an item ( Double Click it it do something )
Example of a quest
example of a npc that u sell stuff to ...

bla bla blah ^^ thx in advance this will realy be helpfull to any 1 wanna learn scripting ..

[] - You have to put @ infront of your shortcut e.g. [@main] has to go at the top all the time to start the npc off.

[@main]
#SAY
<Example/@ex>

Thats your shortcut so next you put:

[@ex]
#SAY
SUCCESS!

To create a shortcut link you have to put <HERE IS WHAT SHOWS UP ON NPC/@ex>

$: This is reading from your logs e.g <$USERNAME> put that onto the npc and it will tell the user who clicked his or her name e.g.

[@main]
#SAY
Hello <$USERNAME>,\

Remember at every end of sentence put \ so then it starts a new line.
 
Upvote 0

booom

Dedicated Member
Dedicated Member
May 14, 2003
218
17
94
[] - You have to put @ infront of your shortcut e.g. [@main] has to go at the top all the time to start the npc off.

[@main]
#SAY
<Example/@ex>

Thats your shortcut so next you put:

[@ex]
#SAY
SUCCESS!

To create a shortcut link you have to put <HERE IS WHAT SHOWS UP ON NPC/@ex>

$: This is reading from your logs e.g <$USERNAME> put that onto the npc and it will tell the user who clicked his or her name e.g.

[@main]
#SAY
Hello <$USERNAME>,\

Remember at every end of sentence put \ so then it starts a new line.

thx very much

btw the , in ur Hello <$USERNAME>,\ has any effect or its just from the text ?
 
Upvote 0

booom

Dedicated Member
Dedicated Member
May 14, 2003
218
17
94
is there any Command that makes u able to setpermission in a npc ?
like
[@Main]
#Act
SETPERMISSION 1
or something like that ^^ lol
 
Upvote 0