Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tag helper (https://forums.graalonline.com/forums/showthread.php?t=5062)

Geovanie Legend 06-18-2001 07:12 AM

Tag helper
 
Ok I made a tag/guild helper NPC and it let me add people to it (it would say it created the account/nick into the guild, but it didn't) could someone either post the proper script or send it to me in a pm so i can see where i'm going wrong. thanks

CrazedMerlin 06-18-2001 07:14 AM

Post your script so we can see if we see errors in it ;)

Geovanie Legend 06-18-2001 07:22 AM

Ok I see no problem with that, let me round it up real fast

if (created) {
showcharacter;
setcharprop #3,head19.gif;
setcharprop #C0,orange;
setcharprop #C1,gray;
setcharprop #C2,gray;
setcharprop #C3,brown;
setcharprop #C4,black;
setcharprop #n,Tag Helper;
setcharprop #2,no-shield.gif;
dir = 2;
ap = 100;
}
if (playerchats && strequals(#g,Admin)){
//rmmember <account>
//addmember <account> <nick>
tokenize #c;
if(strequals(#t(0),addmember)){
addguildmember Admin,#t(1),#t(2);
say2 #t(2) has been added#b;
}
if(strequals(#t(0),rmmember)){
removeguildmember Admin,#t(1);
say2 #t(1) has been removed#b;
}
}

CrazedMerlin 06-18-2001 07:24 AM

When you do it it says so and so were added?

Geovanie Legend 06-18-2001 07:27 AM

yep it pops up the sign that says #t(2) was added
the #t(2) of course being the nickname like
Geovanie Legend has been added

CrazedMerlin 06-18-2001 07:29 AM

ummm...
hmm i dont see whats wrong, sorry cant help there:(

Geovanie Legend 06-18-2001 07:47 AM

lol ok and it would appear that your the only one who's even taken the time to atleast respond, but thanks anyway

Falcor 06-18-2001 07:53 AM

Quote:

Originally posted by Geovanie Legend
lol ok and it would appear that your the only one who's even taken the time to atleast respond, but thanks anyway
Try #s(#t(0)) ??? I duno .It dont apear wrong =\

Geovanie Legend 06-18-2001 08:04 AM

lol that done nothing, with that added it wouldn't even do anything, maybe i put it int he wrong place though.. post the whole script so i'll know

CrazedMerlin 06-18-2001 09:25 AM

Just wait for kami!
He always helps when in need =D

Spearman 06-18-2001 09:35 AM

Are you testing this on a server?

Geovanie Legend 06-18-2001 09:35 AM

hehehehe cool, I just made a super leet jailing script.. it's like my first real script every, lol... i wub it to death.. i was goin nuts jailing and releasing my staff with it, hehehe
I still wanna get the tag helper to work

CrazedMerlin 06-18-2001 09:43 AM

Today i finally learned how to properly use the move command(LOL)

Geovanie Legend 06-18-2001 09:45 AM

lol move command, hmm never used that b4.. in fact i didn't even know it existed.. that shows how far behind my scripting is :(

CrazedMerlin 06-18-2001 09:49 AM

Quote:

Originally posted by Geovanie Legend
lol move command, hmm never used that b4.. in fact i didn't even know it existed.. that shows how far behind my scripting is :(
its like
move,#,#,time,#
like move,21,9,2 =D


All times are GMT +2. The time now is 02:45 PM.

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