, ▁ex cluding ▁logical ▁and ▁binary ▁/ ▁t ern ary ▁operators ▁and ▁some ▁mathematical ▁functions . ▁Function ▁source ▁code ▁is ▁not ▁accessible ▁to ▁the ▁end - user , ▁but ▁the ▁correct ▁syntax ▁is ▁defined ▁in ▁a ▁script ▁file ▁called ▁n w script . n ss . ▁The ▁users ▁can ▁create ▁their ▁own ▁functions , ▁and ▁these ▁can ▁be ▁included ▁in ▁other ▁scripts ▁through ▁the ▁# include ▁directive , ▁which ▁works ▁slightly ▁differently ▁than ▁in ▁C ++ . ▁ ▁Hello ▁world ▁N W Script ▁has ▁no ▁way ▁to ▁directly ▁target ▁the ▁screen ▁for ▁output . ▁Instead , ▁for ▁instance , ▁in - game ▁characters ▁such ▁as ▁the ▁player ▁character ▁can ▁be ▁made ▁to ▁speak ▁the ▁typical ▁" Hello ▁world " ▁example ▁message . ▁This ▁script ▁puts ▁a ▁" Hello ▁world " ▁message ▁in ▁the ▁player ' s ▁message ▁log . ▁For ▁it ▁to ▁work , ▁it ▁should ▁be ▁placed ▁in ▁the ▁On Client Enter ▁event ▁of ▁the ▁module ' s ▁properties . ▁ ▁void ▁main () ▁{ ▁▁▁▁ ▁Send Message To PC ( Get Enter ing Object (), ▁" Hello ▁world "); ▁} ▁ ▁The ▁first ▁line ▁is ▁the ▁void ▁main ▁function ▁which ▁is ▁the ▁function ▁that ▁a ▁N W Script ▁will ▁start ▁at . ▁In ▁the ▁third ▁line , ▁the ▁text ▁Hello ▁world ▁is ▁sent ▁to ▁the ▁player ' s ▁in - game ▁message ▁log . ▁ ▁Data ▁types ▁N W Script ▁allows ▁struct s , ▁but ▁not ▁objects . ▁The ▁following ▁common ▁data ▁types ▁are ▁available ▁in ▁N W Script : ▁