If the gold he gain is divisible by 20 then the dispbottom command will be triggered.
20 | 40 | 60 | 80 | 100 ....
but i think my approach is not good since u are using rand() command.
Change that to :
if ( gold > 20 )
dispbottom "[Warning]: You may not carry all those golds when exchanging it";
Add after :
dispbottom "-|You got: " +@gain+ " gold| - |Total: " +gold+ " gold|- ";
This :
if ( ( gold % 20 ) == 0 )
dispbottom "[Warning]: You may not carry all those golds when exchanging it";
*changebase <job ID number>{,<account ID>};
This command will change a character's appearance to that of the specified job
class. Nothing but appearance will change.
The command will run for the invoking character unless an account ID is given.
changebase Job_Novice; // Changes player to Novice sprite.
changebase Class; // Changes player back to default sprite.
// Forbidden Skills Database
//
// Structure of Database:
// SkillID,Flag
//
// Legend for 'Flag' field (bitmask):
// 1 = Cannot be used in normal maps
// 2 = Cannot be used in PvP maps (use this instead of 1 for PK-mode servers)
// 4 = Cannot be used in GvG maps
// 8 = Cannot be used in Battleground maps
// 16 = Cannot be cloned (clones will not copy this skill)
// Restricted zones - they're configured by 'restricted <number>' mapflag
// 32 = Cannot be used in zone 1 maps
// 64 = Cannot be used in zone 2 maps
// 128 = Cannot be used in zone 3 maps
// 256 = Cannot be used in zone 4 maps
// 512 = Cannot be used in zone 5 maps
// 1024 = Cannot be used in zone 6 maps
// 2048 = Cannot be used in zone 7 maps
//
// Example:
// 8,6 = Endure cannot be used in PvP and GvG maps (2+4)