PM-ing a bot

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
clonedaccnt
Noob
Noob
Posts: 1
Joined: 19 Aug 2012, 12:10
Noob?: No

PM-ing a bot

#1 Post by clonedaccnt »

I want to know, is there a way to know the current details(exp, stats, items, etc) of your bot through PM? Like for example when I PM my bot the word "status" he/she will reply with his/her current status, I also want the same with the items.
doughnuts
Human
Human
Posts: 27
Joined: 25 Mar 2010, 23:03
Noob?: No

Re: PM-ing a bot

#2 Post by doughnuts »

mooleh659
Noob
Noob
Posts: 18
Joined: 02 May 2012, 02:51
Noob?: No

Re: PM-ing a bot

#3 Post by mooleh659 »

I believe the devs didn't place a view item chat command due to the sheer amount of info the bot would send through pm. You can do what you want by using macros though.

http://openkore.com/index.php/Macro_plugin

For example, you want your bot to send you a pm about how many herbs that you have:

Code: Select all

automacro countHerbs {
   pm "countHerbs", yourNameHere
   call {
      do pm "$.lastpm" Blue Herbs: @invamount(Blue Herb)
      do pm "$.lastpm" Yellow Herbs: @invamount(Yellow Herb)
      do pm "$.lastpm" White Herbs: @invamount(White Herb)
      do pm "$.lastpm" Red Herbs: @invamount(Red Herb)
  }
}
Now just pm your bot "countHerbs" and it will reply with those info.