I'll try the sample you provided. I was trying to make a police computer like LCPDFR where you can type in the names of people, which the names will be in the ini. I already have the method to read random names from the ini.
EDIT: It works, thanks. Here's where I put it.
| CODE |
0ACD: show_text_highpriority 10@ time 100 // Typed text 0AA7: call_function 0x8229B6 num_params 2 pop 2 10@ 11@v 2@ // call strcmp if 2@ == 0 then // strings matched! 0AD0: show_formatted_text_lowpriority "Congratulations" time 2000 0A93: // else // strings didn't match end |
This post has been edited by HeresOtis on Sunday, May 6 2012, 15:58