Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-02-2007, 12:12 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
SendText / RequestText Parameters!

Here are a bunch of requesttext parameters for you!:

NAME: clientrc
PARAM: INTEGER 0 (To shut down ClientRC) / 1 (To start ClientRC)
CLIENTRC: No
[I]DESC: This runs ClientRC. It will only start if you have rights to the server and your IP is the same as in the rights window.

NAME: list
PARAM: NULL
CLIENTRC: No
DESC: Doesn't seem to do anything on regular scripts. It should return the server list as an array.

NAME: simplelist
PARAM: NULL
CLIENTRC: No
DESC: Simpler version of 'list'.

NAME: upgradeinfo
PARAM: NULL
CLIENTRC: No
DESC: Should return the upgrade information for the current player, but doesn't seem to do anything . . .

NAME: bantypes
PARAM: NULL
CLIENTRC: Yes
DESC: Should return the ban types for players, but like the others, it doesn't return anything

NAME: localbans
PARAM: NULL
CLIENTRC: Yes
DESC: Returns the local bans of the server, But doesn't seem to return anything when I test it.

NAME: pmservers
PARAM: NULL
CLIENTRC: No
DESC: Returns all the servers listed on Login.

NAME: pmserverplayers
PARAM: STRING servername
CLIENTRC: No
DESC: I think it returns an array of players? It doesn't seem to do anything when I tested it . . .

NAME: pmunmapserver
PARAM: STRING servername
CLIENTRC: No
DESC: No clue? =]?

NAME: pmguilds
PARAM: NULL
CLIENTRC: No
DESC: It returns all the guilds in the GuildList in the playerlist window.

NAME: pmguildplayers
PARAM: STRING guild
CLIENTRC: No
DESC: When I test it, It did nothing. I think its supposed to return an array of all the people in said guild.

NAME: pmunmapguild
PARAM: STRING guild
CLIENTRC: No
DESC: No clue =]

NAME: weaponlist
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of all the weapons on the server!

NAME: classlist
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of all the classes on the server!

NAME: npclist
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of all the NPCs on the server!

NAME: weapon
PARAM: STRING weaponname
CLIENTRC: Yes
DESC: Returns an array of the contents of the weapon.

NAME: class
PARAM: STRING classname
CLIENTRC: Yes
DESC: Returns an array of the contents of the class.

NAME: npc
PARAM: STRING npcname / INT npcid
CLIENTRC: Yes
DESC: Returns an array of the contents of the NPC.

NAME: npcflags
PARAM: STRING npcname / INT npcid
CLIENTRC: Yes
DESC: Returns an array with all the flags assigned to the NPC "npcname".

NAME: options
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of the server options.

NAME: folderconfig
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array that contains the contents of the Folder Configuration.

NAME: serverflags
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array that contains the contents of the Server Flags.

NAME: folders
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array with all the folders of the server, if it is a node (folder/subfolder), it returns as ",folder/subfolder,". Simple enough.

NAME: folder
PARAM: STRING foldername
CLIENTRC: Yes
DESC: Returns an array of the folder contents, which itself is an array which contains the file's name, the rights to the file, the size, and the date last edited.

NAME: rights
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array of the rights of the player "accountname".

NAME: comments
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array of the comments of the player "accountname".

NAME: playerflags
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the flags of the player "accountname".

NAME: playerweapons
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the weapons of the player "accountname".

NAME: playerchests
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the chests opened of the player "accountname".

NAME: playerattributes
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the attributes of the player "accountname".


Next Post: SENDTEXT

Note: All parameters marked with "CLIENTRC: Yes" are if you have ClientRC running, which requires rights to the server and requires the IPs to match.

Thanks to Skyld for posting
this stuff in the first place! xD <-- All I did was copy and paste, and post a few more comments to the end.
__________________
What signature? I see no signature?

Last edited by godofwarares; 02-02-2007 at 09:44 PM..
Reply With Quote
 


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 04:17 AM.


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