goto (playername)
Another one I put on my bot. This will move you to any player in the zone.
Code:
|
You should be able to use $entity_list->GetClientByName($go) rather than looping like that, or at least use 'last' to break out of the loop once you find a player name that matches.
|
Wow can't believe I missed that one, thanks a lot! shortened version here.
Code:
sub EVENT_SAY { |
Where did you insert this to make this work?
Doc |
If you want to make it work on your bot in all zones you will need to name it as botname.pl and save it in the .../quests/templates directory. If you didn't already know, the templates templates directory acts as all zones for quests and scripts. Using npctypeidnumber.pl doesn't seem to work, it has to be name.pl
|
All times are GMT -4. The time now is 06:49 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.