Ask for help
Moderators: Murderator+ , Murderator
raiden
Posts: 7 Joined: 2004-12-16 21:39:52
Post
by raiden » 2004-12-17 19:15:22
Is there any function to split a string? For example if i have "hey you", is there any way to set a var a = hey and a var b = you ?
Edred
Expert!
Posts: 2544 Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg
Post
by Edred » 2004-12-17 19:21:51
raiden wrote: Is there any function to split a string? For example if i have "hey you", is there any way to set a var a = hey and a var b = you ?
VAR a = 'hey'
VAR b = ' '
VAR c = 'you'
VAR d = a+b+c
raiden
Posts: 7 Joined: 2004-12-16 21:39:52
Post
by raiden » 2004-12-17 19:47:29
i need to SPLIT them, not to ADD
Edred
Expert!
Posts: 2544 Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg
Post
by Edred » 2004-12-18 16:29:32
raiden wrote: i need to SPLIT them, not to ADD
VAR a = 'hey you'
VAR b = left( a, 3 )
VAR c = right( a, 3 )
VAR d = mid( a, 4, 1 )
; b = 'hey'
; c = 'you'
; d = ' '
raiden
Posts: 7 Joined: 2004-12-16 21:39:52
Post
by raiden » 2005-01-02 14:19:12
Is there any way to use UO.InJournal() to search for party messages? Party messages are not considered as journal lines.. Infact I don't see them in ,showjournal neither.
clagio
Posts: 58 Joined: 2004-05-09 19:53:49
Post
by clagio » 2005-01-02 15:33:32
at the moment isn't possible..