Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   I have a few scripts... (https://forums.graalonline.com/forums/showthread.php?t=15800)

Evil-Magus 10-30-2001 10:48 AM

I have a few scripts...
 
I am making some levels to get added to G2K1(my chances are slim) and im making a shop, the shop will sell bread, pie, and maybe some insturments and hats! I have most of the scripts but I need the script that makes it so if the player says "buy bread" s/he will get bread, if he says "buy pie" s/he will get pie, and so on, but so far I have:
if (playersays(buy bread)) {;}
if (playersays(buy pie)) {;}

Please help, and I know this probably wont get put online, but its fun to make!
I also need it so when I put up the hat and Insturment GFX it wont show it in all of the different posistions...

dragoonvenganc 10-30-2001 11:24 AM

only top staff on graal such as stefan know the exact.. script for the strings.. sorry.. no one will say

BocoC 10-30-2001 01:21 PM

Correct. None of us know the strings that hold the amounts of bread, pie, and items. Plus, playersays is an ebil command. Use:

if (playerchats && strequals(#c,text)) { }

nyghtGT 10-30-2001 03:21 PM

Re: I have a few scripts...
 
Quote:

Originally posted by Evil-Magus
I am making some levels to get added to G2K1(my chances are slim) and im making a shop, the shop will sell bread, pie, and maybe some insturments and hats! I have most of the scripts but I need the script that makes it so if the player says "buy bread" s/he will get bread, if he says "buy pie" s/he will get pie, and so on, but so far I have:
if (playersays(buy bread)) {;}
if (playersays(buy pie)) {;}

Please help, and I know this probably wont get put online, but its fun to make!
I also need it so when I put up the hat and Insturment GFX it wont show it in all of the different posistions...

if the staff does put your levels up ... they will surely add the scripts to it ...


All times are GMT +2. The time now is 11:57 AM.

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