i want to know how to config my macro..
example i pm my bot..
"relog 5000"
how to do this?
PM macro config please help
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.
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.
-
- Plain Yogurt
- Posts: 96
- Joined: 22 Jul 2009, 23:19
- Noob?: Yes
Re: PM macro config please help
put this on your macros.txtsa2mi20 wrote:i want to know how to config my macro..
example i pm my bot..
"relog 5000"
how to do this?
Code: Select all
automacro relog {
pm "relog"
timeout 0
call rel
priority 1
}
macro rel {
do relog 5000
stop
}
Code: Select all
do relog 5000
-
- Noob
- Posts: 5
- Joined: 15 May 2012, 02:51
- Noob?: Yes
Re: PM macro config please help
it can use triggers console , isn't it?sa2mi20 wrote:i want to know how to config my macro..
example i pm my bot..
"relog 5000"
how to do this?
Code: Select all
automacro do_from_whisp {
console /\(From: (.*)\) : do_(.*)/
call {
do $.lastMatch2
}
}
for using , whisp your bot "do_relog 5000"
-
- Noob
- Posts: 18
- Joined: 02 May 2012, 02:51
- Noob?: No
Re: PM macro config please help
There's already a built-in chat command for the relog function (and it's more secure), you don't need to use the macro plugin.
You just need to authorize the commanding player by typing "auth playerName 1" (1 is important) at the console or pm'ing the adminPassword to your bot. Set secureAdminPassword to 0 and set your own adminPassword since Kore puts a random adminPassword everytime it starts.
This way Kore only responds to authorized players, not from everyone as given from the example above.
You just need to authorize the commanding player by typing "auth playerName 1" (1 is important) at the console or pm'ing the adminPassword to your bot. Set secureAdminPassword to 0 and set your own adminPassword since Kore puts a random adminPassword everytime it starts.
This way Kore only responds to authorized players, not from everyone as given from the example above.