;;--NEW USER LOGIN COMMAND-----------------------------------------
[@Login]
#IF
ISNEWHUMAN
#ACT
goto @NewUser
break
;break scripting after this, since were new we dont need to do these checks...

#IF
#ACT
Goto @CheckTimeQuests

;;-----------------------------------------------------------------

;;--NEW USER LOGIN SCRIPT------------------------------------------

[@NewUser]

#IF
CHECKJOB Warrior
#ACT
GIVE GreenRibbon 1
GIVE LightSaddle 1
DYNAMICGIVE BlackHorse 1
;No Deal
CHANGEGIVEITEM 2 0
;No Drop
CHANGEGIVEITEM 2 4
;No Sell
CHANGEGIVEITEM 2 6
;Destroyed on drop
CHANGEGIVEITEM 2 7
CHANGEGIVEITEM 8
break
#IF
CHECKJOB Taoist
#ACT
GIVE GreenRibbon 1
GIVE LightSaddle 1
DYNAMICGIVE WhiteHorse 1
;No Deal
CHANGEGIVEITEM 2 0
;No Drop
CHANGEGIVEITEM 2 4
;No Sell
CHANGEGIVEITEM 2 6
;Destroyed on drop
CHANGEGIVEITEM 2 7
CHANGEGIVEITEM 8
break
#IF
CHECKJOB Wizard
#ACT
GIVE GreenRibbon 1
GIVE LightSaddle 1
DYNAMICGIVE BrownHorse 1
;No Deal
CHANGEGIVEITEM 2 0
;No Drop
CHANGEGIVEITEM 2 4
;No Sell
CHANGEGIVEITEM 2 6
;Destroyed on drop
CHANGEGIVEITEM 2 7
CHANGEGIVEITEM 8
break

;;-----------------------------------------------------------------

;;CHECK QUESTS THAT USE A TIMER------------------------------------

[@CheckTimeQuests]
;KillChain - Failure
#IF
CheckMission [$Quest_KillChain] 1
#ACT
SetMission [$Quest_KillChain] 0
DelMission 1
SendMsg 5 "Kill Chain Quest Failed due to log out."
goto @KillChainDeleteKills

;;--KILL CHAIN QUEST--------------

[@KillChainDeleteKills]
#IF
#ACT
CLEARNAMELIST ..\QuestDiary\QuestScripts\KillChain\Characters\<$USERNAME>.txt
break

;;--------------------------------

;;-----------------------------------------------------------------