Firstly, the original poster has no knowledge of scripting what so ever. He is probably confused on how to set %root.nick's value.
To the original poster:
/set %root.nick Value
i.e
/set %root.nick First_mIRC's_Nickname.
/help Variables