~~~~~~~~ Alright, i'm going to release a Simple Tutorial on Scripting in-general.~~~~~~~~~~~
Too demonstrate i will be using a [DeLevelScript] That i've made.
Reply with things that can be added/changed.
Thanks
/Killerpot11
Too demonstrate i will be using a [DeLevelScript] That i've made.
[@Main] <------- Must Start at the beginning of ANY Script
#SAY <------- Telling the NPC What to say
//Welcome to the 'ServerName" De-Level NPC!.\ <----- What [#SAY] Tells the NPC to say {// = Beginning Line, .\ = Ending of the line on the NPC.}
//----------------------------------------\
<Levels Needed and Items Rewarded/@info>\ <----- [Refers to "@Info", {Levels Needed and Items Rewarded} would be the text, Clicking the Text will send you to "@Info"]
<DeLevel-1/@delevel-1>\ <------ [Text would be "DeLevel-1" and would direct the actions to @delevel-1]
[@delevel-1] <------ What "DeLevel-1" actually is/does.
#IF
!checknamelist Delevels/Delevel-1.txt <------- Checks "Delevel List" for Persons name
checklevel 1000 <------ Checks the Users Level
#ACT <--- Does "action" - Take Levels/ Give Reward
addnamelist Delevels/Delevel-1.txt <------- Adds User to DeLevel list 1
HLSCRIPTCMD CHANGELEVEL - 500 <------------- Takes 500 levels from User
give DeLevelBracelet <------ Gives user "DeLevel Bracelet"
EVENTMSG GROBAL "<$USERNAME> Has Completed The First Delevel" <--- Message of user getting the first de-level in the top left hand of screen for whole server to see
[@info] <-------- [Is for "Levels Needed and Items Rewarded"]
#IF <-------- [Checks for Requirements {Left blank = no requirements}]
#SAY <-------- [What the NPC says inside the Text]
// Here is the Level's Required to do these DeLevel's..\ <------ [ Text referring to the below requirements]
// Also the items you are Rewarded.\ <------ [More of the below requirements]
____________________________________________
DeLevel-1
--------------------------------------------
Level Required - 1000
Levels Deducted - 500
Item Rewarded - DeLevel Bracelet
____________________________________________
Reply with things that can be added/changed.
Thanks
/Killerpot11
Last edited: