• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Tibiabot ng: reply for confirm script

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:
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;
 
Back
Top