ElfBot NG

Send a Private Message to anyone who appears on the screen

 Send a Private Message to anyone who appears on the screen
This Hotkey, send a message to anyone who appears on screen, and send to yourself the name of whom appear. In case if you go AFK, know who was who appeared.
Code:
auto 30000 foreach 'screenplayers' $players if [playeronscreen] {pm '$players.name' '$players.name MSG  | pm 'NAME' '$players.name'}

This Hotkey, send a message to those who appear on the screen. Without you send to yourself the name of the player that appears on the screen.
Code:
auto 30000 foreach 'screenplayers' $players if [playeronscreen] {pm '$players.name' '$players.name MSG }

Well, it was me who did these two, the only problem is that you end up being the one on the screen of your tibia, and I did not think that a condition ignore yourself. Then he'll be sending this mensage for yourself and for those who appear on the screen. It runs every 30 seconds = (30000).
Related Posts

2 comments:

  1. whoever wrote this is a big noob

    ReplyDelete
  2. auto 30000 foreach 'screenplayers' $players if $players.name == MYNAME {end} else if [playeronscreen] {pm '$players.name' '$players.name MSG } should not send to urself, not tested

    ReplyDelete

 
Copyright © 2011 Tibia ElfBot NG. Designed by designer