Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   #v() in weapons (https://forums.graalonline.com/forums/showthread.php?t=11735)

entravial 09-13-2001 06:11 AM

#v() in weapons
 
~AlphaFlame~

Doesn't work :-P

Try this...

if (playertouchsme){
i=10;
toweapons #v(i);
say2 #v(i);
}

The sign will correctly show 10, but the weapons shows "#v(i)" in the inventory :megaeek:

BocoC 09-13-2001 06:58 AM

Yes. I was slightly annoyed by that once. Don't remember when though or for what script......

entravial 09-13-2001 08:01 AM

~AlphaFlame~

Mine is for showing the ammount of an item in the inventory u.u;
But noooo the script just HAS to be bugged u.u

Admins 09-13-2001 09:05 AM

message codes are not allowed inweapon names

entravial 09-13-2001 09:07 AM

~AlphaFlame~

Well is it too much to allow them for us? There are some nice things that can be done with it... like amounts of an item in the inventory and the such.

General 09-13-2001 09:18 AM

it could be useful in places like burger refuge

hamburger (2)

entravial 09-13-2001 09:22 AM

~AlphaFlame~

Yes! Or in stuff like trophies!

toweapons Spar Tournement (#v(this.rank));

SkooL 09-13-2001 10:04 AM

Quote:

Originally posted by entravial
~AlphaFlame~

Yes! Or in stuff like trophies!

toweapons Spar Tournement (#v(this.rank));

I don't really see what the point of a trophy would be...:/

Kaimetsu 09-14-2001 12:36 AM

GUYS: It was done for a good reason. Ever think about the weapon database, and how crowded it would become with 38563 weapons with the same script in there? Just script your own inventory to fix it.

entravial 09-14-2001 02:43 AM

~AlphaFlame~

Right Kaimetsu. And how many people have the skill to do that?

<Newbies> WE R B MAD SKILLZ PLZ!

... err... right...

<Newbies> LAY Z LAY Z!

*cough* Darn newbies... shut up!

Kaimetsu 09-15-2001 06:08 PM

Quote:

Originally posted by entravial
~AlphaFlame~

Right Kaimetsu. And how many people have the skill to do that?

<Newbies> WE R B MAD SKILLZ PLZ!

... err... right...

<Newbies> LAY Z LAY Z!

*cough* Darn newbies... shut up!

If they can't do it then it's their problem. They should leave it to those who can.

Falcor 09-15-2001 08:09 PM

Kaimetsu you are right but id like for message coades to be added to removeweapon and addweapon because it mkaes life EZer =D

General 09-16-2001 10:04 AM

Quote:

Originally posted by Kaimetsu
GUYS: It was done for a good reason. Ever think about the weapon database, and how crowded it would become with 38563 weapons with the same script in there? Just script your own inventory to fix it.
no, it would go in the database as

Hamburger #v(client.jolly);

that way it would only be one record, not 3,409

entravial 09-17-2001 04:44 AM

~AlphaFlame~

Yes yes yes! It would only go once! :p

~cough~ General beat me to it but oh well...

Anyway, we do kinda need this for stuff like multiple items!

if (playertouchsme){
for(i=0;i<weaponscount;i++){
if (startswith(Bread,#w)){
selectedweapon=i;
}
}
tokenize #w;
toweapons Bread #v(#e(0,-1,#t(1)+1));
}

Or something similar... of course then you'd hafta script reducing the bread count but... bleh, oh what am I saying. Almighty Kaimetsu doesn't like this command so it'll never go up. :p

Tyhm 09-18-2001 04:48 AM

New Features
 
Since we've established this isn't a bug but was intentional, how about a new feature? This would solve my *Bomb Bag problem too:
http://forums.graal2001.com/forums/s...threadid=12179


All times are GMT +2. The time now is 07:52 AM.

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