Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Asdasdasd By trala and shit
- ]]
- config = {
- leaderName = {"Mr Trilo", "Saul Pallavicino", "Etc"}
- }
- LocalSpeechProxy.OnReceive("StepsNShit", function(proxy, mtype, speaker, level, text)
- if text == "east" and (table.find(config.leaderName, speaker)) then
- Self.Step(EAST) -- Walks EAST
- elseif text == "south" and (table.find(config.leaderName, speaker)) then
- Self.Step(SOUTH) -- Walks SOUTH
- elseif text == "north" and (table.find(config.leaderName, speaker)) then
- Self.Step(NORTH) -- Walks NORTH
- elseif text == "west" and (table.find(config.leaderName, speaker)) then
- Self.Step(WEST) -- Walks WEST
- elseif text == "Drop EXP POTS" and (table.find(config.leaderName, speaker)) then
- Self.CloseContainers()
- Self.OpenMainBackpack()
- Self.DropItem(911, 1075, 6, 11372) -- An example of how to drop items at XYZ "Self.DropItem(X, Y, Z, ITEMID)"
- elseif text == "exit" and (table.find(config.leaderName, speaker)) then
- os.exit() -- If you told your MC char "exit" os.exit will force close that client
- elseif text == "go label start" and (table.find(config.leaderName, speaker)) then
- Walker.Goto("start")
- Walker.Start() -- An example on how to program CaveBot Labels (Very useful if you want to have ALOT of wayps)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement