pioncz
New Member
- Joined
- Dec 3, 2008
- Messages
- 149
- Reaction score
- 1
Hello,
I'm trying to write script to write confirmation respond. I have everything except string parsing. I get message variable and i want to check 10th word. How can i do this? For now my script is:
I'm trying to write script to write confirmation respond. I have everything except string parsing. I get message variable and i want to check 10th word. How can i do this? For now my script is:
Code:
Const
Name = 'Golradir Of Nargothr'
procedure Event_Notice(Text: String);
begin
Self.Say('confirmation code from Text');
Sleep(1000);
end;
while not terminated do
begin
UpdateWorld;
ProcessEvents;
Sleep(100);
end;