RealmCrafter Wiki
Advertisement

Created by Taz.

Using "RC_Core.rcm"
; Default player login script
; You may alter this script however you like

; The entry function for this script is always "Main"
; There is no context actor for this script
Function Main()
Player = Actor()
Target = ContextActor()
FirstLog% = HasItem(Player, "Sword")
			Player = Actor()	
            PName$ = Name(Player)
            Target = ContextActor() 

  ;first time login giving player sword change item if not wanting to use sword.
If (FirstLog = 0) ;check first time long in 
	;Do first time login here
    GiveItem(Player, "Sword") 
 
 EndIf 
  
 End Function
Advertisement