Rscript.org
Log in or register a RuneScript account.
RuneScript is currently serving 1,784 channels and 17,454 users.
Default Name One of RuneScript's best features allows you to set a default name to use for triggers. This "defname" will be used to replace the name in any trigger, if you do not supply a name. For instance, if you have your default name set, you can view your overall level by simply typing !overall rather than having to type !overall JimJeoBob.

In order to set your defname, you use the !defname command:
!defname <rsname>
!setname <rsname>

To clear your defname, type !defname without any parameters:
!defname
!setname


In order to use your defname, simply leave the part where you would normally put a name in blank, as so:
<Manacit2> !stats
-RuneScript- *** [ MANACIT2 ]: Overall 1,689 | Att 87 | Def 75 | Str 85 | HP 86 | Range 77 | Pray 70 | Magic 99 | Cooking 80 | Woodcut 77 | Fletch 83 | Fishing 78 | Firemaking 80 | Crafting 89 | Smithing 64 | Mining 64 | Herblore 60 | Agility 65 | Thieving 61 | Slayer 67 | Farming 59 | Runecraft 67
-RuneScript- *** [ MANACIT2 ]: Hunter 56 | Construction 60


You can also use it to look another person's stats up, as long as they have a defname set.
Usage:
!stats <IRCname>&
!stats <IRCname>$


Example:
<Manacit2> !stats Campy&
-RuneScript- *** [ CAMPBELLMC ]: Overall 1,752 | Att 99 | Def 99 | Str 98 | HP 99 | Range 99 | Pray 75 | Magic 99 | Cooking 80 | Woodcut 82 | Fletch 99 | Fishing 78 | Firemaking 70 | Crafting 62 | Smithing 57 | Mining 58 | Herblore 60 | Agility 61 | Thieving 58 | Slayer 90 | Farming 59 | Runecraft 55
-RuneScript- *** [ CAMPBELLMC ]: Hunter 46 | Construction 69


Note:Your default name is set for your address and Ident. So, if you change your nickname it will still work, but you'll have to reset it if you change your Ident, or if your host name or user ID changes
To edit the settings of this command via !set, use: !set defname on/off/private
The Help Docs are maintained by Aaron1120 & Emofreak123 (Crew Leaders), Archmagus, Manacit2, Matt, and Rba.
Copyright © 2005-2008 Rscript.org.