Tutorial Scripting All Together

Voya

Golden Oldie
Golden Oldie
Mar 15, 2008
967
53
135
USA
~~~~~~~~ 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.


[@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:

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
hmm nice tutorial i guess but there are already good noob guides about.. Anyway i guess ill + rep since that's all your probably looking for ^

btw i got Diablo3
got lvl60 in 1 and half days...
add my tag: Spudds#2811
 
Upvote 0

SuperDragon

Dedicated Member
Dedicated Member
Feb 12, 2012
467
9
45
isnt this is MythRohan;s script ?
at least say ( thanks to mythrohan ) ..
am sorry but -rep
 
Upvote 0

Voya

Golden Oldie
Golden Oldie
Mar 15, 2008
967
53
135
USA
isnt this is MythRohan;s script ?
at least say ( thanks to mythrohan ) ..
am sorry but -rep

Ehh, sorry to say, but this is not MythRohan's script. i dont even know who that is. Like i stated i made it myself. If the 2 came to be completely the same then thats just by chance.. Doesn't mean i "Stole" it or am using it without giving the proper credit.

Thanks anyways.
 
Upvote 0