i'm noob don't understand perl and regexp
i tried sconf command to edit shop.txt
it does not work because shop.txt use tab-delimited.
so i need to edit xconf and separate the $value.
i use this
my ($vall, $prize) = split(/\s+/, $value);
and this work for me.
imagine that i only need 1 bot to shop all, and only keywords to change for vending items to armors to quest items to weapons etc.
so it work for me, but as i said i'm noob, want to ask
split(/\s+/, $value)
it should be better way to do it, sorry for bad english
xconf and shop.txt
Moderator: Moderators
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes