Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config.scp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// @file
// ScriptPack configuration file.
//

// Configurable switches, that can change global behaviour.
[DEFNAME configuration]
// When enabled, account chatname will be set to currently logged character.
config.chatname_char = 0
10 changes: 8 additions & 2 deletions events/e_player_generic_event.scp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
//****************************************************************************
VERSION=X1

// Generic event to all players.
[events e_player_generic_event]
//Generic event to all players

[eof]
on=@login
// If enabled in configuration, chatname will be changed to character name on login.
if (<def.config.chatname_char> == 1)
account.chatname = <src.name>
endif

[eof]
1 change: 1 addition & 0 deletions spheretables.scp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ As a general rule:
[RESOURCES]
// sphere.ini and spheretable.scp are automatic.
// All the other scripts we want to load.
config.scp
crafting/
crafting/interface/
crafting/interface/legacy skillmenu/
Expand Down