thanks for helping me! works like a charm and now i know how to add parameters for functions in c-script.

i really appreciate it.