![]() |
Ummm
Yes I know this script is wrong but I suck at scripting...this is what I have, well a friend has...
if (startswith(message,#c)) { ishighstaff(); if (this.highstaff==1) { if (tokenscount < 3) { setstring server.message,0; And well it needs to be so you say message "accountname" "what you want to appear over there head" highstaff is like the tag so like (GP) etc. Pleasehelp |
Re: Ummm
Quote:
NPC Code: That way.. the script knows when to check if #c starts with "message" or not. ishighstaff doesnt really need to be a function.. You can add onto the first if statement to see if they're in that guild or not: NPC Code: Now, the script will only go on if all three of those are true; The player chats, #c starts with message, and the guild the player is in is "GuildName." If you want to make sure the player has more than 3 words there, use tokenize first. NPC Code: |
| All times are GMT +2. The time now is 02:15 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.