.c prova 12345
our guild can see this

Is possible to take the number ONLY from that string and use it like a variable?
Moderators: Murderator+, Murderator
Code: Select all
if uo.injournal('Dago MegaDeatH') then
..
s=uo.JournalSerial(uo.InJournal('Dago MegaDeatH')-1)
fraza=uo.journal(uo.InJournal('Dago MegaDeatH')-1)
uo.print("lench of this fraza "+str(len(fraza)))
for i=0 to (len(fraza)-3)
l=mid(fraza,i,3)
if l == 'va ' then #search the string 'va ' of(proVA 123)
sec1=i+3 #start position of '12345'
end if
next
sec2=number_lench #lench '123456' - lench=6
variable=mid(fraza,sec1,sec2)
..
end if