![]() |
script help
how would i script something, so if the account name isnt something, the npc would do something
|
A ! and a strequals may come in handy.
|
commands.rtf -> newfeatures docs -> forums
try to use the prescribed order for learning scripts and commands |
i know what they do... i just dont know how to write out the commands to make it do that...
|
heres what im tryin to do...
im makin auto-defense turrets for my house. right now, i have if (playerenters) shootball; sleep 0.2 then the shootball; sleep 0.2 is copied a lot. i need some way to make it fire if it is not my account. and i need a more efficient way to make it fire. (i tried the while command, but it isnt workin) |
put this before everything.
NPC Code: |
i put shootball; sleep 0.2
after it (using a different account) and it doesnt fire |
Accounts are not recognized offline.
|
Quote:
Quote:
Also, insted of lots of sleep, you should do a loop... |
Quote:
NPC Code: As for the balls without copy and pasting.. I would use a timeout. I would script it for ya but that's illegal. |
Quote:
|
Don't try to help if you aren't scripter,Mykel :p
|
| All times are GMT +2. The time now is 03:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.