drakan
New Member
Posts: 2 Likes: 0
Currently Offline
Last Online: Apr 11, 2017 22:12:39 GMT
View Profile
Registered On: Nov 24, 2016 0:06:16 GMT
|
Post by drakan on Nov 24, 2016 18:59:54 GMT
Hello, I'd like to know the proper syntax to write an script that pm's X char when somebody enters the screen or "foreach" player that enters the screen pm's X char and send him player's name, level, vocation and maybe if he has or not a guid(optional). I've tried writing my own editing some others posts I've found here that are similar but I can't get it run properly...
THANKS IN ADVANCE.
Update: I tried this one in an OT, it pm's the selected player but it pms me "level 0" and "NV" (no vocation).. do you think this can be fixed?
insert code auto 100 listas 'info player' | foreach 'floorplayers' $pl { if [$pl.name != $name && $pl.isonscreen] {pm 'Drakan' '$pl.name level $pl.level $pl.voc is on screen' | wait 3000}}
here
|
|
drakan
New Member
Posts: 2 Likes: 0
Currently Offline
Last Online: Apr 11, 2017 22:12:39 GMT
View Profile
Registered On: Nov 24, 2016 0:06:16 GMT
|
Post by drakan on Nov 26, 2016 2:51:48 GMT
It seem's to work fine but the player needs to stay on screen like 2 seconds for the bot to recognize lvl and vocation, still I'd want to send me his guild's name also... And to stop sending the same message if already sent me that person name, and show it to me just if he/she leaves the screen and then come back.. Maybe you guys could help me, thanks.
|
|
vilden
New Member
Posts: 3 Likes: 0
Currently Offline
Last Online: Jan 8, 2017 5:36:45 GMT
View Profile
Registered On: Dec 26, 2016 8:36:42 GMT
|
Post by vilden on Dec 26, 2016 8:49:59 GMT
use the $fileisline.'filename'.'linetext' and writeln
If you do not know the syntax search me on my page,
facebook.com/ciroscript
|
|
xariossin
Member
Posts: 10 Likes: 3
Currently Offline
Last Online: Jun 19, 2023 23:47:45 GMT
View Profile
Registered On: Mar 1, 2020 4:29:19 GMT
|
Post by xariossin on Jan 14, 2021 7:19:07 GMT
use the $fileisline.'filename'.'linetext' and writeln If you do not know the syntax search me on my page, facebook.com/ciroscript PM me
|
|