Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2001, 05:51 AM
adam_monkeyman adam_monkeyman is offline
Registered User
Join Date: Nov 2001
Location: Michigan
Posts: 30
adam_monkeyman is on a distinguished road
tag adder (p2p only)

ok i need to know 3 scripts
the tag adder one for only 1 guild
the tag adder for any guild
and tag adder for temp. like in a game or something
plz i really need these, i'm asking cause i cant script very well =\
__________________

OK so it isn't very good! it was my first!
Reply With Quote
  #2  
Old 11-28-2001, 09:49 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
here i'l explain:
NPC Code:

NPC Code:

// NPC made by Zorg
if (playerchats) {
if (startswith(addperson,#c)) {
tokenize #c;
setcharprop #c,Person Added!;
// #t(3) represents the guild name
// #t(1) represents the player(s) account name
// #t(2) represents the desired nickname
addguildmember #t(3),#t(1),#t(2);
sleep 1;
setcharprop #c,;
}
if (startswith(delperson,#c)) {
tokenize #c;
setcharprop #c,Bartender Removed!;
// #t(1) represents the player(s) account name
// #t(2) represents the desired nickname
removeguildmember #t(2),#t(1);
sleep 1;
setcharprop #c,;
}
}
}




so if i say 'addperson "nyghtGT" "Nyght GT" "LAT Admin"' it will make me the nickname Nyght GT (LAT Admin) .
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.